NixOS-Config/home-manager/jimbo_server.nix

20 lines
401 B
Nix

{config, ...}: {
imports = [
# Common modules
./home.nix
./users/jimbo.nix
];
# Rebuild this entire system
programs.zsh = {
shellAliases = let
auth = import ./common/auth.nix;
in {
nixdate = ''
${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimServer;
home-manager switch --flake /etc/nixos/.#jimbo@JimServer;
'';
};
};
}