diff --git a/common/flakes.nix b/common/flakes.nix index 302f375..02228e4 100644 --- a/common/flakes.nix +++ b/common/flakes.nix @@ -15,7 +15,7 @@ in { ''; # pin nixpkgs for system commands such as "nix shell" - #registry.nixpkgs.flake = inputs.nixpkgs; + registry.nixpkgs.flake = inputs.nixpkgs; }; }; } diff --git a/flake.nix b/flake.nix index ab84857..73119bf 100644 --- a/flake.nix +++ b/flake.nix @@ -4,16 +4,16 @@ simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-21.05"; }; - outputs = { self, nixpkgs, simple-nixos-mailserver }: { + outputs = inputs: { nixosConfigurations = let mkSystem = system: path: - nixpkgs.lib.nixosSystem { + inputsw.nixpkgs.lib.nixosSystem { inherit system; modules = [ path - simple-nixos-mailserver.nixosModule + inputs.simple-nixos-mailserver.nixosModule ]; specialArgs = { inherit inputs; }; };