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