feat(hosts/luna): persist bash_history of users root & price

This commit is contained in:
Price Hiller 2024-02-07 21:30:53 -06:00
parent e376c058d6
commit 1a2dacd753
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -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" ]; };
};
}