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 --- flake.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 491ae0ab..459d2202 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,7 @@ { inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs-small.url = "github:NixOS/nixpkgs/nixos-unstable-small"; nixos-hardware.url = "github:NixOS/nixos-hardware"; nix-index-database.url = "github:Mic92/nix-index-database"; nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; @@ -25,6 +26,7 @@ { self , utils , nixpkgs + , nixpkgs-small , nixos-hardware , home-manager , darwin @@ -74,7 +76,7 @@ common-gpu-nvidia-nonprime ]); }; - nixosConfigurations.nanopi = nixpkgs.lib.nixosSystem { + nixosConfigurations.nanopi = nixpkgs-small.lib.nixosSystem { system = utils.lib.system.aarch64-linux; specialArgs = { inherit inputs; }; modules = [ @@ -82,7 +84,7 @@ ./system/nanopi.nix ]; }; - nixosConfigurations.linde = nixpkgs.lib.nixosSystem { + nixosConfigurations.linde = nixpkgs-small.lib.nixosSystem { system = utils.lib.system.aarch64-linux; specialArgs = { inherit inputs; }; modules = [ -- cgit 1.4.1