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
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
nix fmt
|
nix fmt
|
||||||
|
|
||||||
git --no-pager diff
|
git --no-pager diff
|
||||||
|
|
||||||
nixos-rebuild \
|
run() {
|
||||||
switch \
|
nixos-rebuild \
|
||||||
--use-remote-sudo \
|
switch \
|
||||||
--print-build-logs \
|
--use-remote-sudo \
|
||||||
--flake .# \
|
--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
|
usbutils
|
||||||
# dracula-theme # gtk theme
|
# dracula-theme # gtk theme
|
||||||
adwaita-icon-theme # default gnome cursors
|
adwaita-icon-theme # default gnome cursors
|
||||||
|
|
||||||
|
nix-output-monitor
|
||||||
];
|
];
|
||||||
|
|
||||||
services.geoclue2.enable = true;
|
services.geoclue2.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue