Skip to content

Commit

Permalink
environment/persistence: hideMounts
Browse files Browse the repository at this point in the history
  • Loading branch information
linyinfeng committed Dec 13, 2023
1 parent f37b85c commit 1bd4b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/environment/global-persistence/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
config,
options,
lib,
pkgs,
...
Expand Down Expand Up @@ -115,6 +114,7 @@ in

config = mkIf (cfg.enable && cfg.root != null) {
environment.persistence.${cfg.root} = {
hideMounts = true;
inherit (cfg) directories files;
users = usersCfg;
};
Expand Down

0 comments on commit 1bd4b38

Please sign in to comment.