chore: format and update ff addons

This commit is contained in:
matt1432 2024-03-11 22:25:32 -04:00
parent 64b760fd62
commit fab7d1c38f
5 changed files with 15 additions and 18 deletions
devices/nos
default.nix
modules
arion/wg-easy
qbittorrent

View file

@ -22,12 +22,12 @@ in {
};
users.users.${mainUser} = {
isNormalUser = true;
extraGroups = [
"wheel"
"adm"
"borg"
];
isNormalUser = true;
extraGroups = [
"wheel"
"adm"
"borg"
];
};
home-manager.users.${mainUser} = {

View file

@ -27,8 +27,8 @@ in {
WG_DEFAULT_DNS = "1.0.0.1";
};
volumes =[
"${rwPath}/data:/etc/wireguard"
volumes = [
"${rwPath}/data:/etc/wireguard"
];
ports = [

View file

@ -31,9 +31,9 @@ in {
systemd.services = let
joinWgNamespace = {
bindsTo = [ "netns@wg.service" ];
requires = [ "network-online.target" ];
after = [ "wireguard-wg0.service" ];
bindsTo = ["netns@wg.service"];
requires = ["network-online.target"];
after = ["wireguard-wg0.service"];
unitConfig.JoinsNamespaceOf = "netns@wg.service";
serviceConfig.NetworkNamespacePath = "/var/run/netns/wg";
};