NixOS-Config/home-manager/jimbo_server.nix

21 lines
436 B
Nix
Raw Normal View History

2024-08-24 22:16:51 -04:00
{config, ...}: {
imports = [
# Common modules
./home.nix
./users/jimbo.nix
];
# Rebuild this entire system
programs.zsh = {
oh-my-zsh.theme = "half-life";
shellAliases = let
auth = import ./common/auth.nix;
in {
nixdate = ''
2024-08-26 13:17:26 -04:00
${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimServer;
home-manager switch --flake /etc/nixos/.#jimbo@JimServer;
2024-08-24 22:16:51 -04:00
'';
};
};
}