finally fixing the ups, plus tons of formatting
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.nas-apps.wireguard;
|
||||
@@ -20,9 +15,7 @@ in
|
||||
"--cap-add=NET_ADMIN"
|
||||
"--sysctl=\"net.ipv4.conf.all.src_valid_mark=1\""
|
||||
];
|
||||
volumes = [
|
||||
"${cfg.configPath}:/config"
|
||||
];
|
||||
volumes = [ "${cfg.configPath}:/config" ];
|
||||
environment = {
|
||||
PUID = cfg.puid;
|
||||
PGID = cfg.pgid;
|
||||
|
||||
Reference in New Issue
Block a user