flake: add nix-output-monitor
This commit is contained in:
parent
ed834c5013
commit
bfe92e0ed9
25
switch
25
switch
|
@ -1,12 +1,25 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
nix fmt
|
||||
|
||||
git --no-pager diff
|
||||
|
||||
nixos-rebuild \
|
||||
switch \
|
||||
--use-remote-sudo \
|
||||
--print-build-logs \
|
||||
--flake .# \
|
||||
"$@"
|
||||
run() {
|
||||
nixos-rebuild \
|
||||
switch \
|
||||
--use-remote-sudo \
|
||||
--print-build-logs \
|
||||
--flake .# \
|
||||
"$@"
|
||||
}
|
||||
|
||||
if which nom >/dev/null; then
|
||||
run --verbose \
|
||||
--log-format internal-json \
|
||||
"$@" \
|
||||
|& nom --json
|
||||
else
|
||||
run "$@"
|
||||
fi
|
||||
|
|
|
@ -44,6 +44,8 @@
|
|||
usbutils
|
||||
# dracula-theme # gtk theme
|
||||
adwaita-icon-theme # default gnome cursors
|
||||
|
||||
nix-output-monitor
|
||||
];
|
||||
|
||||
services.geoclue2.enable = true;
|
||||
|
|
Loading…
Reference in a new issue