diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/settings/configuration/nix.nix | 1 | ||||
-rw-r--r-- | system/settings/pin.nix | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix index 57c7cedf..97cd7aeb 100644 --- a/system/settings/configuration/nix.nix +++ b/system/settings/configuration/nix.nix @@ -3,6 +3,7 @@ , pkgs , ... }: { + imports = [ ../pin.nix ]; nix = { settings = { cores = lib.mkDefault 0; diff --git a/system/settings/pin.nix b/system/settings/pin.nix new file mode 100644 index 00000000..e282cf66 --- /dev/null +++ b/system/settings/pin.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: +let + lib = import ../../lib { inherit pkgs; }; + sources = import ../../nix/sources.nix; +in +{ + nix.nixPath = lib.mkNixPath sources; +} |