niri: switch to supersonic; trailblazer: ready for energy saving?

This commit is contained in:
Kate 2025-06-12 05:22:33 +02:00
parent 8aa7a431a9
commit d4431509de
5 changed files with 19 additions and 7 deletions

View file

@ -265,8 +265,8 @@ in
"XF86AudioRaiseVolume".action = sh "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 0.1+";
"XF86AudioLowerVolume".action = sh "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 0.1-";
"XF86Launch6".action = sh "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 0.1-";
"XF86Tools".action = sh "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 0.1+";
"XF86Launch6".action = sh "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 0.1+";
"XF86Tools".action = sh "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 0.1-";
"XF86AudioMute".action = sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
"XF86AudioMicMute".action = sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle";
@ -284,10 +284,12 @@ in
"Mod+Q".action = close-window;
"XF86AudioPrev".action = sh "mpc prev";
"XF86AudioNext".action = sh "mpc next";
"XF86AudioPlay".action = sh "mpc toggle";
"XF86Launch5".action = sh "mpc toggle";
"XF86AudioPrev".action = sh "supersonic -previous";
"XF86AudioNext".action = sh "supersonic -next";
"XF86AudioPlay".action = sh "supersonic -play-pause";
"XF86Launch5".action = sh "supersonic -play-pause";
}
(binds {
suffixes."Left" = "column-left";

View file

@ -145,6 +145,7 @@ in
imports = [
#./ups.nix
./energy.nix
./scanner.nix
(modulesPath + "/installer/scan/not-detected.nix")
../../configs/build-machine-users.nix

View file

@ -0,0 +1,8 @@
#
# Energy savings for trailblazer.
#
{ ... }:
{
# Allow WoL from being targeted by e.g. a SSH connection.
networking.interfaces."enp14s0".wakeOnLan.policy = [ "magic" "unicast" ];
}

View file

@ -252,6 +252,7 @@ with pkgs;
++ (
if (!is-hm-standalone && !is-droid) then
[
ethtool
]
else
[ ]

View file

@ -58,7 +58,7 @@ with pkgs;
# Office.
thunderbird
libreoffice-fresh
(libreoffice-fresh.override { extraMakeWrapperArgs = ["--unset" "WAYLAND_DISPLAY"]; })
krita
xournalpp
kdePackages.itinerary