feat: remove emacs-overlay, use stable version instead

fix: emacsclient not found
feat: use nom build to show build details in debug mode
This commit is contained in:
Ryan Yin
2024-01-03 22:49:23 +08:00
parent f68fe49720
commit b0c1301367
5 changed files with 59 additions and 146 deletions

View File

@@ -5,6 +5,8 @@ export def nixos-switch [
mode: string
] {
if "debug" == $mode {
# show details via nix-output-monitor
nom build $".#nixosConfigurations.($name).config.system.build.toplevel" --show-trace --verbose
nixos-rebuild switch --use-remote-sudo --flake $".#($name)" --show-trace --verbose
} else {
nixos-rebuild switch --use-remote-sudo --flake $".#($name)"