30 lines
564 B
Nix
30 lines
564 B
Nix
{ pkgs ? import <nixos-unstable> {} } :
|
|
{
|
|
|
|
#pkgs = import (builtins.fetchGit {
|
|
# name = "nixos-25.05";
|
|
# url = "https://github.com/nixos/nixpkgs";
|
|
# rev = "11cb3517b3af6af300dd6c055aeda73c9bf52c48";
|
|
#}) {};
|
|
|
|
foo = pkgs.mkShell {
|
|
# nativeBuildInputs is usually what you want -- tools you need to run
|
|
nativeBuildInputs = with pkgs.buildPackages; [
|
|
|
|
#authbind
|
|
process-compose
|
|
docker-compose
|
|
|
|
];
|
|
|
|
shellHooks = ''
|
|
export NIX_SHELL_VPS=1
|
|
source .env
|
|
echo "available commands:"
|
|
|
|
'';
|
|
};
|
|
|
|
|
|
}
|
|
|