diff options
Diffstat (limited to 'hosts')
| -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 ]; }; } |