enable wg netns on nixdesk but make it not auto start

This commit is contained in:
xunuwu 2025-03-02 08:26:01 +01:00
parent 6f93b94320
commit 9beb028281
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
2 changed files with 4 additions and 1 deletions

View file

@ -11,7 +11,7 @@
./hardware.nix ./hardware.nix
./hibernate-boot.nix ./hibernate-boot.nix
./samba-mount.nix ./samba-mount.nix
# ./wireguard.nix ./wireguard.nix
./restic-server.nix ./restic-server.nix
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix

View file

@ -1,6 +1,7 @@
{ {
config, config,
inputs, inputs,
lib,
... ...
}: { }: {
imports = [inputs.vpn-confinement.nixosModules.default]; imports = [inputs.vpn-confinement.nixosModules.default];
@ -27,4 +28,6 @@
# From inside of the vpn namespace to outside of it, for making things inside accessible to LAN # From inside of the vpn namespace to outside of it, for making things inside accessible to LAN
portMappings = []; portMappings = [];
}; };
systemd.services.wg.wantedBy = lib.mkForce [];
} }