summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-05-15 10:04:11 +0200
committerAlan Pearce2024-05-15 10:04:11 +0200
commitfb2bc6ceba885133f6b2bd5d4a8d06fddf26eb15 (patch)
treeaa43a33a37c9c399d810bb25541bdd6bab69b3dd /system
parentde11d30c536c52381101a07230794bb724dd1c87 (diff)
downloadnixfiles-fb2bc6ceba885133f6b2bd5d4a8d06fddf26eb15.tar.lz
nixfiles-fb2bc6ceba885133f6b2bd5d4a8d06fddf26eb15.tar.zst
nixfiles-fb2bc6ceba885133f6b2bd5d4a8d06fddf26eb15.zip
make it easier to avoid downgrading servers during deployment
Diffstat (limited to 'system')
-rw-r--r--system/linde.nix7
-rwxr-xr-xsystem/nanopi.nix5
2 files changed, 5 insertions, 7 deletions
diff --git a/system/linde.nix b/system/linde.nix
index a39d7182..a6bfefb4 100644
--- a/system/linde.nix
+++ b/system/linde.nix
@@ -132,10 +132,9 @@ in
     flake = "git+file://${config.services.gitolite.dataDir}/repositories/nixfiles.git";
     flags = [
       "--no-write-lock-file"
-      "--override-input"
-      "nixpkgs"
-      "github:NixOS/nixpkgs/nixos-unstable-small"
-      "--override-input"
+      "--update-input"
+      "nixpkgs-small"
+      "--update-input"
       "searchix"
       "git+https://git.alanpearce.eu/searchix"
     ];
diff --git a/system/nanopi.nix b/system/nanopi.nix
index 0e45bd91..90f44ff1 100755
--- a/system/nanopi.nix
+++ b/system/nanopi.nix
@@ -627,9 +627,8 @@ in
     };
     flags = [
       "--no-write-lock-file"
-      "--override-input"
-      "nixpkgs"
-      "github:NixOS/nixpkgs/nixos-unstable-small"
+      "--update-input"
+      "nixpkgs-small"
     ];
   };