mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 22:30:25 +01:00
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:
2
utils.nu
2
utils.nu
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user