diff options
| author | Fuwn <[email protected]> | 2025-05-04 04:15:15 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-05-04 04:15:15 -0700 |
| commit | 876f417afe6dc9d6b165f10b23d69ab433094509 (patch) | |
| tree | b91c3eabde80be7e29f2c970f0f51f49b484bfac /hosts/utm/default.nix | |
| parent | Nara: Add Motrix cask (diff) | |
| download | nixos-config-876f417afe6dc9d6b165f10b23d69ab433094509.tar.xz nixos-config-876f417afe6dc9d6b165f10b23d69ab433094509.zip | |
UTM: Add UTM build host
Diffstat (limited to 'hosts/utm/default.nix')
| -rw-r--r-- | hosts/utm/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/hosts/utm/default.nix b/hosts/utm/default.nix new file mode 100644 index 0000000..8d6aaaa --- /dev/null +++ b/hosts/utm/default.nix @@ -0,0 +1,27 @@ +{ + inputs, + kansaiPkgs, + self, + lib, + ... +}: +let + pkgs = + (kansaiPkgs { + nixpkgsExtraConfig = { + allowUnsupportedSystem = true; + }; + })."aarch64-linux"; +in +{ + flake.nixosConfigurations.utm = lib.nixosSystem { + inherit pkgs; + + modules = with inputs; [ + ./configuration.nix + ./hardware-configuration.nix + "${self}/disks/utm.nix" + disko.nixosModules.disko + ]; + }; +} |