diff options
| author | Fuwn <[email protected]> | 2024-09-11 19:39:29 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-11 19:39:29 -0700 |
| commit | 4dd0e8e198b5d981c05ce69b8d1ebfec349adf07 (patch) | |
| tree | 127e2f239ca2e0b9842c497e4bb1cdda0ca9e938 /hosts | |
| parent | flake-parts: perSystem (diff) | |
| download | nixos-config-4dd0e8e198b5d981c05ce69b8d1ebfec349adf07.tar.xz nixos-config-4dd0e8e198b5d981c05ce69b8d1ebfec349adf07.zip | |
flake-parts: hosts
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/hosts/default.nix b/hosts/default.nix new file mode 100644 index 0000000..266d30c --- /dev/null +++ b/hosts/default.nix @@ -0,0 +1,26 @@ +{ + lib, + inputs, + outputs, + self, + ... +}: +let + secrets = builtins.fromTOML (builtins.readFile "${self}/secrets/secrets.toml"); +in +{ + flake.nixosConfigurations.kansai = lib.nixosSystem { + specialArgs = { + inherit inputs outputs secrets; + }; + + modules = [ + inputs.home-manager.nixosModule + inputs.pia.nixosModule + inputs.nix-index-database.nixosModules.nix-index + inputs.nur.nixosModules.nur + inputs.chaotic.nixosModules.default + ./kansai + ]; + }; +} |