From 4499a505ed9c71c2fccbd746052bdffdaac1a1e0 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Wed, 31 Aug 2016 17:16:30 +0300 Subject: [PATCH] hidepid service: use new boot.specialFileSystems --- nixos/modules/security/hidepid.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" ]; }; }