diff options
| author | Fuwn <[email protected]> | 2025-05-04 23:55:07 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-05-04 23:55:07 -0700 |
| commit | c8938b7ce85ce9813319e7d5d27be73aa3366d69 (patch) | |
| tree | 8936d62db357e87ddd466523b2fcbef2cba4b0b1 /hosts/utm | |
| parent | Nara: Set up SOPS (diff) | |
| download | nixos-config-c8938b7ce85ce9813319e7d5d27be73aa3366d69.tar.xz nixos-config-c8938b7ce85ce9813319e7d5d27be73aa3366d69.zip | |
UTM: Set up Tailscale
Diffstat (limited to 'hosts/utm')
| -rw-r--r-- | hosts/utm/configuration.nix | 6 | ||||
| -rw-r--r-- | hosts/utm/default.nix | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/hosts/utm/configuration.nix b/hosts/utm/configuration.nix index b355e05..a765bfe 100644 --- a/hosts/utm/configuration.nix +++ b/hosts/utm/configuration.nix @@ -2,10 +2,14 @@ modulesPath, lib, pkgs, + self, ... }: { - imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + "${self}/modules/base/sops.nix" + ]; disko.devices.disk.disk1.device = "/dev/vda"; diff --git a/hosts/utm/default.nix b/hosts/utm/default.nix index 8d6aaaa..95fb11c 100644 --- a/hosts/utm/default.nix +++ b/hosts/utm/default.nix @@ -17,11 +17,17 @@ in flake.nixosConfigurations.utm = lib.nixosSystem { inherit pkgs; + specialArgs = { + inherit self; + }; + modules = with inputs; [ ./configuration.nix ./hardware-configuration.nix "${self}/disks/utm.nix" + "${self}/modules/core/networking/tailscale.nix" disko.nixosModules.disko + sops-nix.nixosModules.sops ]; }; } |