feat(hosts/luna): persist bash_history
of users root & price
This commit is contained in:
parent
e376c058d6
commit
1a2dacd753
@ -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" ]; };
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user