summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-04-10 18:50:02 +0200
committerAlan Pearce2024-04-10 18:50:02 +0200
commit2b09b74ba617346a0c9c932543e658837ef9e5d2 (patch)
tree980c05a0e50d8026a0884c6015b440c31ebb2c6f /system
parenta2534b9daab7d39d2eeb005f7648b74bc72a8520 (diff)
downloadnixfiles-2b09b74ba617346a0c9c932543e658837ef9e5d2.tar.lz
nixfiles-2b09b74ba617346a0c9c932543e658837ef9e5d2.tar.zst
nixfiles-2b09b74ba617346a0c9c932543e658837ef9e5d2.zip
nix: pin nixpkgs to flake input globally and per-user
Diffstat (limited to 'system')
-rw-r--r--system/settings/configuration/nix.nix3
-rw-r--r--system/settings/darwin.nix3
2 files changed, 6 insertions, 0 deletions
diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix
index 6328f32e..4142fa34 100644
--- a/system/settings/configuration/nix.nix
+++ b/system/settings/configuration/nix.nix
@@ -2,6 +2,9 @@
 , pkgs
 , ...
 }: {
+  imports = [
+    ../../../pin.nix
+  ];
   nix = {
     settings = {
       cores = 0;
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix
index 806fdeb9..460d47bd 100644
--- a/system/settings/darwin.nix
+++ b/system/settings/darwin.nix
@@ -3,6 +3,9 @@
 , lib
 , ...
 }: {
+  imports = [
+    ../../pin.nix
+  ];
   services.nix-daemon = {
     enable = true;
     enableSocketListener = true;