diff options
Diffstat (limited to 'users/flokli')
-rw-r--r-- | users/flokli/nixos/.envrc | 1 | ||||
-rw-r--r-- | users/flokli/nixos/default.nix | 12 |
2 files changed, 7 insertions, 6 deletions
diff --git a/users/flokli/nixos/.envrc b/users/flokli/nixos/.envrc new file mode 100644 index 000000000000..ccf3cb847ac5 --- /dev/null +++ b/users/flokli/nixos/.envrc @@ -0,0 +1 @@ +PATH_add $(nix-build ../../.. -A users.flokli.nixos.deps --no-out-link)/bin diff --git a/users/flokli/nixos/default.nix b/users/flokli/nixos/default.nix index 90bda9f1a42b..c93363785cf1 100644 --- a/users/flokli/nixos/default.nix +++ b/users/flokli/nixos/default.nix @@ -28,13 +28,13 @@ depot.nix.readTree.drvTargets rec { deploy-archeology = (deployScript "archeology" archeologySystem); deploy-archeology-ec2 = (deployScript "archeology-ec2" archeologyEc2System); + deps = (depot.nix.lazy-deps { + deploy-archeology.attr = "users.flokli.nixos.deploy-archeology"; + deploy-archeology-ec2.attr = "users.flokli.nixos.deploy-archeology-ec2"; + }); + shell = pkgs.mkShell { name = "flokli-nixos-shell"; - packages = [ - (depot.nix.lazy-deps { - deploy-archeology.attr = "users.flokli.nixos.deploy-archeology"; - deploy-archeology-ec2.attr = "users.flokli.nixos.deploy-archeology-ec2"; - }) - ]; + packages = [ deps ]; }; } |