Guest User

Untitled

a guest
Jan 11th, 2021
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.28 KB | None | 0 0
  1. { ... }:
  2.  
  3. let
  4.   # Common hardening flags
  5.   commonFlags = { NoNewPrivileges = true; PrivateTmp = true; ProtectSystem = true; ProtectHome = true; }
  6. in {
  7.   # I am overwriting a option here
  8.   systemd.services.rtorrent.serviceConfig = commonFlags // { ProtectHome = "read-only"; };
  9. }
Add Comment
Please, Sign In to add comment