From 00d3d26ee778013b1aa95a9f7fc645975fbb3169 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 6 Nov 2024 08:03:32 -0800 Subject: hosts: add hoka host and joint configuration --- hosts/hoka/default.nix | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 hosts/hoka/default.nix (limited to 'hosts/hoka/default.nix') 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 + ; + }; + }; +} -- cgit v1.2.3