diff options
Diffstat (limited to 'hosts/default.nix')
| -rw-r--r-- | hosts/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/hosts/default.nix b/hosts/default.nix index 1ad7953..97574c5 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -18,6 +18,7 @@ with inputs; let secrets = { rootPassword.file = "${self}/users/_secrets/rootPassword.age"; sethPassword.file = "${self}/users/_secrets/sethPassword.age"; + pbodyPassword.file = "${self}/users/_secrets/pbodyPassword.age"; }; }; @@ -44,6 +45,7 @@ in { nixos-hardware.nixosModules.common-gpu-nvidia-nonprime nixos-hardware.nixosModules.common-pc-ssd lanzaboote.nixosModules.lanzaboote + (import "${self}/modules/nixos/virtualisation") ]; }; glados-wsl = { @@ -54,4 +56,33 @@ in { nixos-wsl.nixosModules.wsl ]; }; + p-body = { + builder = nixpkgs.lib.nixosSystem; + inherit (common) system; + + specialArgs = let + unstable = import nixpkgsUnstable { + inherit (common) system; + overlays = [guzzle_api.overlays.default]; + }; + in {inherit (unstable) guzzle-api-server;}; + + modules = [ + agenix.nixosModules.default + guzzle_api.nixosModules.guzzle_api + (import "${self}/modules/base") + (import "${self}/modules/nixos") + + { + age = { + identityPaths = ["/etc/age/key"]; + secrets = { + rootPassword.file = "${self}/users/_secrets/rootPassword.age"; + pbodyPassword.file = "${self}/users/_secrets/pbodyPassword.age"; + }; + }; + nixos.enable = true; + } + ]; + }; } |
