diff options
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index 4956365..a8812c8 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11-small"; + nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable-small"; # inputs for following systems = { @@ -77,6 +78,7 @@ outputs = { self, nixpkgs, + nixpkgs-unstable, # modules simple-nixos-mailserver, impermanence, @@ -89,10 +91,13 @@ } @ attrs: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; + pkgs-unstable = nixpkgs-unstable.legacyPackages.${system}; in { nixosConfigurations."server1" = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - specialArgs = attrs; + specialArgs = attrs // { + inherit pkgs-unstable; + }; modules = [ ./hosts/server1/configuration.nix simple-nixos-mailserver.nixosModule |