NixOS-Config/home-manager/jimbo_server.nix

21 lines
468 B
Nix

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