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