From 3f0894f4537d7931e1d42721893b61c57e4787ee Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sat, 18 Jun 2022 11:57:32 +0200 Subject: [PATCH] explicitly enable wireguard --- flake.nix | 10 ++++++++-- hosts/cirrus/wireguard-server.nix | 1 + hosts/dishwasher/oxalab.nix | 1 + 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 = {