From fb2bc6ceba885133f6b2bd5d4a8d06fddf26eb15 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 15 May 2024 10:04:11 +0200 Subject: make it easier to avoid downgrading servers during deployment --- system/linde.nix | 7 +++---- system/nanopi.nix | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'system') 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" ]; }; -- cgit 1.4.1