33 lines
448 B
Nix
33 lines
448 B
Nix
{ ... }:
|
|
|
|
{
|
|
users = {
|
|
users = {
|
|
root = {
|
|
password = "rootpw";
|
|
};
|
|
};
|
|
};
|
|
|
|
home-manager = {
|
|
users = {
|
|
root = {
|
|
imports = [ ./home/default.nix ];
|
|
};
|
|
};
|
|
};
|
|
|
|
environment.persistence = {
|
|
persistence = {
|
|
directories = [
|
|
{
|
|
directory = "/root";
|
|
user = "root";
|
|
group = "root";
|
|
mode = "u=rwx,g=,o=";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|