summaryrefslogtreecommitdiff
path: root/hosts/utm
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-05-04 23:55:07 -0700
committerFuwn <[email protected]>2025-05-04 23:55:07 -0700
commitc8938b7ce85ce9813319e7d5d27be73aa3366d69 (patch)
tree8936d62db357e87ddd466523b2fcbef2cba4b0b1 /hosts/utm
parentNara: Set up SOPS (diff)
downloadnixos-config-c8938b7ce85ce9813319e7d5d27be73aa3366d69.tar.xz
nixos-config-c8938b7ce85ce9813319e7d5d27be73aa3366d69.zip
UTM: Set up Tailscale
Diffstat (limited to 'hosts/utm')
-rw-r--r--hosts/utm/configuration.nix6
-rw-r--r--hosts/utm/default.nix6
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
];
};
}