summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorJakub Stachurski <jakub@wilkuu.nl>2026-07-21 20:28:13 +0200
committerJakub Stachurski <jakub@wilkuu.nl>2026-07-21 20:28:13 +0200
commit8da770badb7fe21df138e770c8d1a8b6c4604882 (patch)
tree947cc879a2b00c02e682f63cd6b8e0a36da6a742 /flake.nix
parent381984fc596c3cf268d4bcf061164158fbcfb95a (diff)
nixfmt
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/flake.nix b/flake.nix
index f7a6677..57f5644 100644
--- a/flake.nix
+++ b/flake.nix
@@ -57,7 +57,7 @@
}@inputs:
let
lib = nixpkgs.lib;
- inventory = (import ./inventory.nix) { inherit inputs; } ;
+ inventory = (import ./inventory.nix) { inherit inputs; };
systems = [
"x86_64-linux"
"x86_64-darwin"
@@ -90,11 +90,12 @@
checks = forAllSystems (_: system: { formatting = treefmt.${system}.config.build.check self; });
nixosConfigurations = lib.mapAttrs (
- self_name: host: lib.nixosSystem {
+ self_name: host:
+ lib.nixosSystem {
specialArgs = {
inherit inputs;
- inherit inventory;
- inherit self_name;
+ inherit inventory;
+ inherit self_name;
};
inherit (host) system;
modules = [
@@ -103,9 +104,9 @@
home-manager.nixosModules.default
sops-nix.nixosModules.default
disko.nixosModules.disko
- ] ++ host.nix-modules;
+ ]
+ ++ host.nix-modules;
}
- )
- (lib.filterAttrs (n: h: (h.nix && h.type != "live")) inventory);
+ ) (lib.filterAttrs (_n: h: (h.nix && h.type != "live")) inventory);
};
}