21 lines
436 B
Nix
21 lines
436 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/.#JimServer;
|
|
home-manager switch --flake /etc/nixos/.#jimbo@JimServer;
|
|
'';
|
|
};
|
|
};
|
|
}
|