diff --git a/hosts/luna/modules/users.nix b/hosts/luna/modules/users.nix index d897cd7..6650ce6 100755 --- a/hosts/luna/modules/users.nix +++ b/hosts/luna/modules/users.nix @@ -1,5 +1,4 @@ -{ pkgs, user, config, ... }: -{ +{ pkgs, user, config, ... }: { security.sudo.wheelNeedsPassword = false; users.users = { root.hashedPasswordFile = config.age.secrets.users-root-pw.path; @@ -13,4 +12,8 @@ ]; }; }; + environment.persistence.ephemeral.users = { + price = { files = [ ".bash_history" ]; }; + root = { home = "/root"; files = [ ".bash_history" ]; }; + }; } \ No newline at end of file