18 lines
406 B
Nix
18 lines
406 B
Nix
{ hostName, homeMangerVersion }:
|
|
{ pkgs, ... }:
|
|
{
|
|
users.users.root.shell = pkgs.zsh;
|
|
home-manager.users.root = {
|
|
home.stateVersion = homeMangerVersion;
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "root";
|
|
userEmail = "root@${hostName}";
|
|
};
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableAutosuggestions = true;
|
|
};
|
|
programs.zsh.oh-my-zsh.enable = true;
|
|
};
|
|
} |