2024-08-24 22:16:51 -04:00
|
|
|
{config, ...}: {
|
|
|
|
imports = [
|
|
|
|
# Common modules
|
|
|
|
./home.nix
|
|
|
|
./users/jimbo.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
# Rebuild this entire system
|
|
|
|
programs.zsh = {
|
|
|
|
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
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|