summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix10
-rw-r--r--hosts/cirrus/wireguard-server.nix1
-rw-r--r--hosts/dishwasher/oxalab.nix1
3 files changed, 10 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index cc9a3fe..9732266 100644
--- a/flake.nix
+++ b/flake.nix
@@ -39,7 +39,10 @@
system = "x86_64-linux";
modules = [
sops-nix.nixosModules.sops
- ./hosts/cirrus
+ ./hosts/cirrus/configuration.nix
+ ./hosts/cirrus/hardware-configuration.nix
+ ./hosts/cirrus/secrets.nix
+ ./hosts/cirrus/wireguard-server.nix
./modules/basic-tools.nix
];
};
@@ -48,7 +51,10 @@
modules = [
sops-nix.nixosModules.sops
microvm.nixosModules.host
- ./hosts/dishwasher
+ ./hosts/dishwasher/configuration.nix
+ ./hosts/dishwasher/hardware-configuration.nix
+ ./hosts/dishwasher/oxalab.nix
+ ./hosts/dishwasher/secrets.nix
./modules/basic-tools.nix
];
};
diff --git a/hosts/cirrus/wireguard-server.nix b/hosts/cirrus/wireguard-server.nix
index 742912e..66068c8 100644
--- a/hosts/cirrus/wireguard-server.nix
+++ b/hosts/cirrus/wireguard-server.nix
@@ -1,5 +1,6 @@
{ config, ... }:
{
+ networking.wireguard.enable = true;
systemd.network = {
netdevs."oxalab" = {
netdevConfig = {
diff --git a/hosts/dishwasher/oxalab.nix b/hosts/dishwasher/oxalab.nix
index b6521cf..ba5e9b0 100644
--- a/hosts/dishwasher/oxalab.nix
+++ b/hosts/dishwasher/oxalab.nix
@@ -1,5 +1,6 @@
{ config, ... }:
{
+ networking.wireguard.enable = true;
systemd.network = {
netdevs."oxalab" = {
netdevConfig = {