diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-08-31 17:16:30 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-08-31 17:16:41 +0300 |
commit | 4499a505ed9c71c2fccbd746052bdffdaac1a1e0 (patch) | |
tree | 0c9729faa1dd5556c3763180a8f4966639ade52d | |
parent | a4879c44c90f9cbd4c2ffbad9f544ce028ff2c83 (diff) | |
download | nixpkgs-4499a505ed9c71c2fccbd746052bdffdaac1a1e0.tar nixpkgs-4499a505ed9c71c2fccbd746052bdffdaac1a1e0.tar.gz nixpkgs-4499a505ed9c71c2fccbd746052bdffdaac1a1e0.tar.bz2 nixpkgs-4499a505ed9c71c2fccbd746052bdffdaac1a1e0.tar.lz nixpkgs-4499a505ed9c71c2fccbd746052bdffdaac1a1e0.tar.xz nixpkgs-4499a505ed9c71c2fccbd746052bdffdaac1a1e0.tar.zst nixpkgs-4499a505ed9c71c2fccbd746052bdffdaac1a1e0.zip |
hidepid service: use new boot.specialFileSystems
-rw-r--r-- | nixos/modules/security/hidepid.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/hidepid.nix b/nixos/modules/security/hidepid.nix index 4917327d617..8f2df380cfe 100644 --- a/nixos/modules/security/hidepid.nix +++ b/nixos/modules/security/hidepid.nix @@ -20,6 +20,6 @@ with lib; config = mkIf config.security.hideProcessInformation { users.groups.proc.gid = config.ids.gids.proc; - fileSystems."/proc".options = [ "hidepid=2" "gid=${toString config.ids.gids.proc}" ]; + boot.specialFileSystems."/proc".options = [ "hidepid=2" "gid=${toString config.ids.gids.proc}" ]; }; } |