feat(servers): make crony user also adapt home manager config.

This commit is contained in:
CronyAkatsuki 2025-08-28 15:51:00 +02:00
parent 08d5d08061
commit c1d5a21378
5 changed files with 20 additions and 5 deletions

View file

@ -3,5 +3,9 @@
shell = pkgs.zsh;
};
users.extraUsers.crony = {
shell = pkgs.zsh;
};
programs.zsh.enable = true;
}

View file

@ -0,0 +1,5 @@
{
imports = [./home.nix];
home.username = "crony";
home.homeDirectory = "/home/crony";
}

View file

@ -4,7 +4,12 @@
home-manager.backupFileExtension = "backup";
home-manager.users.root = {
imports = [
./home.nix
./root.nix
];
};
home-manager.users.crony = {
imports = [
./crony.nix
];
};
}

View file

@ -3,10 +3,6 @@
pkgs,
...
}: {
# basic info
home.username = "root";
home.homeDirectory = "/root";
# Setup zsh
programs.zsh = {
enable = true;

View file

@ -0,0 +1,5 @@
{
imports = [./home.nix];
home.username = "root";
home.homeDirectory = "/root";
}