cleanup
This commit is contained in:
parent
ba77fc7950
commit
d3c82cbba2
@ -1,4 +1,4 @@
|
|||||||
{ lib, pkgs, config, ... }:
|
{ lib, pkgs, config, inputs, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.nix.flakes;
|
cfg = config.nix.flakes;
|
||||||
@ -13,6 +13,9 @@ in {
|
|||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# pin nixpkgs for system commands such as "nix shell"
|
||||||
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -14,11 +14,8 @@
|
|||||||
modules = [
|
modules = [
|
||||||
path
|
path
|
||||||
simple-nixos-mailserver.nixosModule
|
simple-nixos-mailserver.nixosModule
|
||||||
( { pkgs, ... }: {
|
|
||||||
# pin nixpkgs for system commands such as "nix shell"
|
|
||||||
nix.registry.nixpkgs.flake = nixpkgs;
|
|
||||||
} )
|
|
||||||
];
|
];
|
||||||
|
specialArgs = { inherit inputs; };
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user