diff options
author | Soispha <soispha@vhack.eu> | 2024-03-28 12:18:16 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-04-02 16:27:17 +0200 |
commit | 902506888c16800214f058dbfd379af072681d62 (patch) | |
tree | 787798bab0db6057111422925ce345b8b8eb7b4d | |
parent | chore(git-crypt): Remove `.git-crypt` directory (diff) | |
download | nixos-server-902506888c16800214f058dbfd379af072681d62.tar.gz nixos-server-902506888c16800214f058dbfd379af072681d62.zip |
fix(system/services/taskserver): Add required kernel settings
These are the defaults, but I think it is better to explicitly state them to ensure that we don't suffer from a mistake, when we think about changing them in the future.
-rw-r--r-- | system/services/taskserver/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/services/taskserver/default.nix b/system/services/taskserver/default.nix index f51e52b..2e4370f 100644 --- a/system/services/taskserver/default.nix +++ b/system/services/taskserver/default.nix @@ -26,6 +26,10 @@ in { # This will ONLY work when the kernel option `sys.net.ipv6.bindv6only` is false listenHost = "::"; }; + boot.kernelParams = [ + "sys.net.ipv6.bindv6only=0" + ]; + security.acme.certs.taskserver = { domain = "taskserver.vhack.eu"; postRun = |