2024-08-02 17:55:48 -04:00
|
|
|
{ config, lib, ... }:
|
2024-05-16 20:08:57 -04:00
|
|
|
{
|
|
|
|
# Give root user access to run remote builds
|
|
|
|
home-manager.users.root = {
|
|
|
|
home.stateVersion = "24.05";
|
2024-10-02 10:45:56 -04:00
|
|
|
programs = {
|
2024-10-06 12:13:36 -04:00
|
|
|
git.extraConfig = {
|
|
|
|
safe.directory = "${config.secrets.nixConfigFolder}/.git";
|
|
|
|
};
|
2024-10-05 13:03:44 -04:00
|
|
|
ssh = {
|
2024-10-02 10:45:56 -04:00
|
|
|
enable = true;
|
|
|
|
matchBlocks = config.secrets.users.root.sshConfig;
|
|
|
|
};
|
2024-10-06 12:13:36 -04:00
|
|
|
zsh = {
|
|
|
|
oh-my-zsh.theme = "kardan";
|
|
|
|
shellAliases.nos = "nixos-operations-script";
|
2024-10-02 10:45:56 -04:00
|
|
|
};
|
2024-05-16 20:08:57 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|