diff options
| author | Jakub Stachurski <jakub@wilkuu.nl> | 2026-07-21 20:28:13 +0200 |
|---|---|---|
| committer | Jakub Stachurski <jakub@wilkuu.nl> | 2026-07-21 20:28:13 +0200 |
| commit | 8da770badb7fe21df138e770c8d1a8b6c4604882 (patch) | |
| tree | 947cc879a2b00c02e682f63cd6b8e0a36da6a742 /flake.nix | |
| parent | 381984fc596c3cf268d4bcf061164158fbcfb95a (diff) | |
nixfmt
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -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); }; } |
