Add Lenovo laptop

This commit is contained in:
jimjam4real 2024-09-08 21:45:54 -04:00
parent 7bbc3ac209
commit fd0316e588
14 changed files with 201 additions and 17 deletions

View file

@ -6,14 +6,15 @@
./tuiapps/git.nix
];
# Rebuild this entire system
# ZSH rebuild commands
programs.zsh = {
shellAliases = let
auth = import ./common/auth.nix;
hostname = "JimServer";
in {
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimServer";
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@JimServer";
nixdate = "sysdate; homedate";
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#${hostname}";
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@${hostname}";
nixdate = "sysdate; homedate; notify-send 'NixOS switch done.'";
};
};
}