2024-08-24 22:16:51 -04:00
|
|
|
{config, ...}: {
|
|
|
|
imports = [
|
|
|
|
# Common modules
|
|
|
|
./home.nix
|
|
|
|
./users/jimbo.nix
|
2024-08-27 15:17:32 -04:00
|
|
|
./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 {
|
2024-08-29 03:13:41 -04:00
|
|
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|