From 63adb41f1a060c21a68143eb9e86c2790ef66f36 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 8 Aug 2024 10:45:09 +0200 Subject: ... --- flake.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index c317f5c1..6f24a90c 100644 --- a/flake.nix +++ b/flake.nix @@ -141,7 +141,7 @@ type = "gitlab"; owner = "gkleen"; repo = "backup-utils"; - ref = "v0.1.2"; + ref = "v0.1.3"; inputs = { nixpkgs.follows = "nixpkgs"; poetry2nix.follows = "poetry2nix"; @@ -163,6 +163,12 @@ repo = "nixos-hardware"; ref = "master"; }; + impermanence = { + type = "github"; + owner = "nix-community"; + repo = "impermanence"; + ref = "master"; + }; }; outputs = { self, nixpkgs, home-manager, sops-nix, deploy-rs, nvfetcher, ... }@inputs: @@ -255,12 +261,12 @@ // outputs // { imports = [self.nixosModules.users.${userName} or ({...}: { imports = defaultUserProfiles userName; })] ++ (outputs.imports or []); }); - # systemsSelector = "x86_64-linux"; - # systems = filter (system: !(isNull (builtins.match systemsSelector system))) nixpkgs.lib.systems.flakeExposed; - systems = - let - disallowedSystems = ["armv5tel-linux" "armv6l-linux"]; - in filter (system: !(elem system disallowedSystems)) nixpkgs.lib.systems.flakeExposed; + systemsSelector = "x86_64-linux"; + systems = filter (system: !(isNull (builtins.match systemsSelector system))) nixpkgs.lib.systems.flakeExposed; + # systems = + # let + # disallowedSystems = ["armv5tel-linux" "armv6l-linux"]; + # in filter (system: !(elem system disallowedSystems)) nixpkgs.lib.systems.flakeExposed; nixpkgsPackages = localSystem: (makeOverridable (import (nixpkgs.outPath + "/pkgs/top-level"))) { inherit localSystem; }; forAllSystems = f: mapAttrs f (genAttrs systems nixpkgsPackages); forAllUsers = genAttrs (unique (map accountUserName (attrNames self.nixosModules.accounts))); -- cgit v1.2.3