diff options
| author | Fuwn <[email protected]> | 2024-11-06 08:03:32 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-11-06 08:03:32 -0800 |
| commit | 00d3d26ee778013b1aa95a9f7fc645975fbb3169 (patch) | |
| tree | c78eb1f5dc04399ef2b7c2a58ecc2e969f48688e /hosts/hoka/default.nix | |
| parent | lock: tsutsumi (diff) | |
| download | nixos-config-00d3d26ee778013b1aa95a9f7fc645975fbb3169.tar.xz nixos-config-00d3d26ee778013b1aa95a9f7fc645975fbb3169.zip | |
hosts: add hoka host and joint configuration
Diffstat (limited to 'hosts/hoka/default.nix')
| -rw-r--r-- | hosts/hoka/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/hosts/hoka/default.nix b/hosts/hoka/default.nix new file mode 100644 index 0000000..fceb188 --- /dev/null +++ b/hosts/hoka/default.nix @@ -0,0 +1,34 @@ +{ + inputs, + outputs, + secrets, + self, + kansaiPkgs, + lib, + commonModules, +}: +{ + flake.nixosConfigurations.hoka = lib.nixosSystem { + pkgs = + (kansaiPkgs + { + } + )."aarch64-linux"; + + modules = [ + inputs.raspberry-pi-nix.nixosModules.raspberry-pi + ./configuration.nix + "${self}/hosts/shared/pi/configuration.nix" + "${self}/hosts/shared/pi/hardware-configuration.nix" + ] ++ commonModules; + + specialArgs = { + inherit + inputs + outputs + secrets + self + ; + }; + }; +} |