Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { ... }:
- let
- # Common hardening flags
- commonFlags = { NoNewPrivileges = true; PrivateTmp = true; ProtectSystem = true; ProtectHome = true; }
- in {
- # I am overwriting a option here
- systemd.services.rtorrent.serviceConfig = commonFlags // { ProtectHome = "read-only"; };
- }
Add Comment
Please, Sign In to add comment