summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix20
1 files changed, 13 insertions, 7 deletions
diff --git a/flake.nix b/flake.nix
index c317f5c1..6f24a90c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -141,7 +141,7 @@
141 type = "gitlab"; 141 type = "gitlab";
142 owner = "gkleen"; 142 owner = "gkleen";
143 repo = "backup-utils"; 143 repo = "backup-utils";
144 ref = "v0.1.2"; 144 ref = "v0.1.3";
145 inputs = { 145 inputs = {
146 nixpkgs.follows = "nixpkgs"; 146 nixpkgs.follows = "nixpkgs";
147 poetry2nix.follows = "poetry2nix"; 147 poetry2nix.follows = "poetry2nix";
@@ -163,6 +163,12 @@
163 repo = "nixos-hardware"; 163 repo = "nixos-hardware";
164 ref = "master"; 164 ref = "master";
165 }; 165 };
166 impermanence = {
167 type = "github";
168 owner = "nix-community";
169 repo = "impermanence";
170 ref = "master";
171 };
166 }; 172 };
167 173
168 outputs = { self, nixpkgs, home-manager, sops-nix, deploy-rs, nvfetcher, ... }@inputs: 174 outputs = { self, nixpkgs, home-manager, sops-nix, deploy-rs, nvfetcher, ... }@inputs:
@@ -255,12 +261,12 @@
255 // outputs 261 // outputs
256 // { imports = [self.nixosModules.users.${userName} or ({...}: { imports = defaultUserProfiles userName; })] ++ (outputs.imports or []); }); 262 // { imports = [self.nixosModules.users.${userName} or ({...}: { imports = defaultUserProfiles userName; })] ++ (outputs.imports or []); });
257 263
258 # systemsSelector = "x86_64-linux"; 264 systemsSelector = "x86_64-linux";
259 # systems = filter (system: !(isNull (builtins.match systemsSelector system))) nixpkgs.lib.systems.flakeExposed; 265 systems = filter (system: !(isNull (builtins.match systemsSelector system))) nixpkgs.lib.systems.flakeExposed;
260 systems = 266 # systems =
261 let 267 # let
262 disallowedSystems = ["armv5tel-linux" "armv6l-linux"]; 268 # disallowedSystems = ["armv5tel-linux" "armv6l-linux"];
263 in filter (system: !(elem system disallowedSystems)) nixpkgs.lib.systems.flakeExposed; 269 # in filter (system: !(elem system disallowedSystems)) nixpkgs.lib.systems.flakeExposed;
264 nixpkgsPackages = localSystem: (makeOverridable (import (nixpkgs.outPath + "/pkgs/top-level"))) { inherit localSystem; }; 270 nixpkgsPackages = localSystem: (makeOverridable (import (nixpkgs.outPath + "/pkgs/top-level"))) { inherit localSystem; };
265 forAllSystems = f: mapAttrs f (genAttrs systems nixpkgsPackages); 271 forAllSystems = f: mapAttrs f (genAttrs systems nixpkgsPackages);
266 forAllUsers = genAttrs (unique (map accountUserName (attrNames self.nixosModules.accounts))); 272 forAllUsers = genAttrs (unique (map accountUserName (attrNames self.nixosModules.accounts)));