Add offline home manager switch option

This commit is contained in:
Yan Lin 2025-08-01 08:27:10 +02:00
parent e480c1abcc
commit f0b7ad9213
2 changed files with 3 additions and 2 deletions

View file

@ -63,7 +63,7 @@
};
matmeet = {
template = "baisc";
template = "basic";
name = "MaterialMeet";
codePath = "/Users/yanlin/Documents/Projects/Material Project Group Meeting";
description = "Material Meeting Slides";

View file

@ -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;
}
}