NixOS-Config/home-manager/jimbo_server.nix

23 lines
546 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";
2024-08-24 22:16:51 -04:00
};
};
2024-09-03 14:52:21 -04:00
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
2024-08-24 22:16:51 -04:00
}