Add Lenovo laptop
This commit is contained in:
parent
7bbc3ac209
commit
fd0316e588
14 changed files with 201 additions and 17 deletions
|
@ -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.'";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue