summaryrefslogtreecommitdiff
path: root/hosts/hoka/default.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-11-06 08:03:32 -0800
committerFuwn <[email protected]>2024-11-06 08:03:32 -0800
commit00d3d26ee778013b1aa95a9f7fc645975fbb3169 (patch)
treec78eb1f5dc04399ef2b7c2a58ecc2e969f48688e /hosts/hoka/default.nix
parentlock: tsutsumi (diff)
downloadnixos-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.nix34
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
+ ;
+ };
+ };
+}