diff options
author | Florian Klink <flokli@flokli.de> | 2019-12-05 22:56:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-05 22:56:46 +0100 |
commit | 77f26cc542c86f2fcf9c6e059ad4e4b77b8762f7 (patch) | |
tree | c3afd3b245cf474ebaed36920d613cdc6f6ed00c /nixos/modules | |
parent | d49dba4b3b1788f583a77b6159f6c5f8d9d06e45 (diff) | |
parent | 218fe53e2422f4c30f2228e5ec059534a21323f6 (diff) | |
download | nixlib-77f26cc542c86f2fcf9c6e059ad4e4b77b8762f7.tar nixlib-77f26cc542c86f2fcf9c6e059ad4e4b77b8762f7.tar.gz nixlib-77f26cc542c86f2fcf9c6e059ad4e4b77b8762f7.tar.bz2 nixlib-77f26cc542c86f2fcf9c6e059ad4e4b77b8762f7.tar.lz nixlib-77f26cc542c86f2fcf9c6e059ad4e4b77b8762f7.tar.xz nixlib-77f26cc542c86f2fcf9c6e059ad4e4b77b8762f7.tar.zst nixlib-77f26cc542c86f2fcf9c6e059ad4e4b77b8762f7.zip |
Merge pull request #74852 from srhb/gitea-fix-start
nixos/gitea: Fix startup
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/misc/gitea.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/services/misc/gitea.nix b/nixos/modules/services/misc/gitea.nix index b6f4d88adbef..258476dd9feb 100644 --- a/nixos/modules/services/misc/gitea.nix +++ b/nixos/modules/services/misc/gitea.nix @@ -396,9 +396,7 @@ in Restart = "always"; # Filesystem - ProtectSystem = "strict"; ProtectHome = true; - PrivateTmp = true; PrivateDevices = true; ProtectKernelTunables = true; ProtectKernelModules = true; @@ -413,7 +411,7 @@ in PrivateMounts = true; PrivateUsers = true; MemoryDenyWriteExecute = true; - SystemCallFilter = "~@chown @clock @cpu-emulation @debug @keyring @memlock @module @mount @obsolete @privileged @raw-io @reboot @resources @setuid @swap"; + SystemCallFilter = "~@clock @cpu-emulation @debug @keyring @memlock @module @mount @obsolete @raw-io @reboot @resources @setuid @swap"; SystemCallArchitectures = "native"; RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6"; }; @@ -475,4 +473,5 @@ in timerConfig.OnCalendar = cfg.dump.interval; }; }; + meta.maintainers = with lib.maintainers; [ srhb ]; } |