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