diff --git a/default.nix b/default.nix index ab53784c..80ad8582 100644 --- a/default.nix +++ b/default.nix @@ -12,6 +12,7 @@ nix = { nixPath = options.nix.nixPath.default ++ [ "config=/etc/dotfiles/config" + "packages=/etc/dotfiles/packages" ]; autoOptimiseStore = true; trustedUsers = [ "root" "@wheel" ]; diff --git a/deploy b/deploy index efb07ba6..ed6c6343 100755 --- a/deploy +++ b/deploy @@ -31,4 +31,4 @@ nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable nix-channel --update nixos-generate-config --root "$PREFIX" -nixos-install --root "$PREFIX" -I "config=$DOTFILES/config" +nixos-install --root "$PREFIX" -I "config=$DOTFILES/config" -I "packages=$DOTFILES/packages"