Add offline home manager switch option
This commit is contained in:
parent
e480c1abcc
commit
f0b7ad9213
2 changed files with 3 additions and 2 deletions
|
|
@ -42,6 +42,7 @@ in
|
|||
# Nix helpers
|
||||
hm = "home-manager";
|
||||
hms = "home-manager switch --flake ~/.config/nix#yanlin";
|
||||
hms-offline = "home-manager switch --flake ~/.config/nix#yanlin --option substitute false";
|
||||
|
||||
# Project shortcuts
|
||||
proj = "${projectLauncher}";
|
||||
|
|
@ -146,4 +147,4 @@ in
|
|||
|
||||
# Generate projects.json for shell scripts
|
||||
home.file.".config/nix/config/projects.json".text = builtins.toJSON projectsConfig;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue