2024-11-08 18:23:40 +01:00
|
|
|
{username, ...}: {
|
2024-09-14 21:25:34 +02:00
|
|
|
home-manager = {
|
2024-10-23 15:47:23 +02:00
|
|
|
backupFileExtension = "bkp";
|
2024-11-08 18:23:40 +01:00
|
|
|
users.${username} = {
|
2024-09-14 19:27:42 +02:00
|
|
|
programs.home-manager.enable = true;
|
|
|
|
home = {
|
2024-11-08 18:23:40 +01:00
|
|
|
username = username;
|
|
|
|
homeDirectory = "/home/" + username;
|
2024-09-14 19:27:42 +02:00
|
|
|
stateVersion = "23.11";
|
|
|
|
};
|
2024-08-31 17:47:11 +02:00
|
|
|
};
|
2024-11-05 19:55:59 +01:00
|
|
|
users.root = {
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
home = {
|
|
|
|
username = "root";
|
|
|
|
homeDirectory = "/root";
|
|
|
|
stateVersion = "23.11";
|
|
|
|
};
|
|
|
|
};
|
2024-08-31 17:47:11 +02:00
|
|
|
};
|
2024-08-31 17:43:40 +02:00
|
|
|
}
|