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

@ -39,13 +39,14 @@
./services/udiskie.nix
];
# Rebuild this entire system
# ZSH rebuild commands
programs.zsh = {
shellAliases = let
auth = import ./common/auth.nix;
hostname = "JimDesktop";
in {
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimDesktop";
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@JimDesktop";
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.'";
};
};