NixOS-Config/home-manager/jimbo_server.nix

20 lines
486 B
Nix
Raw Normal View History

2024-08-24 22:16:51 -04:00
{config, ...}: {
imports = [
# Common modules
./home.nix
./users/jimbo.nix
./tuiapps/git.nix
2024-08-24 22:16:51 -04:00
];
# Rebuild this entire system
programs.zsh = {
shellAliases = let
auth = import ./common/auth.nix;
in {
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimServer";
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@JimServer";
nixdate = "sysdate; homedate; notify-send 'NixOS switch done.'";
2024-08-24 22:16:51 -04:00
};
};
}