niri: switch to supersonic; trailblazer: ready for energy saving?
This commit is contained in:
parent
8aa7a431a9
commit
d4431509de
5 changed files with 19 additions and 7 deletions
|
@ -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";
|
||||
|
|
|
@ -145,6 +145,7 @@ in
|
|||
|
||||
imports = [
|
||||
#./ups.nix
|
||||
./energy.nix
|
||||
./scanner.nix
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
../../configs/build-machine-users.nix
|
||||
|
|
8
nixos/hosts/trailblazer/energy.nix
Normal file
8
nixos/hosts/trailblazer/energy.nix
Normal 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" ];
|
||||
}
|
|
@ -252,6 +252,7 @@ with pkgs;
|
|||
++ (
|
||||
if (!is-hm-standalone && !is-droid) then
|
||||
[
|
||||
ethtool
|
||||
]
|
||||
else
|
||||
[ ]
|
||||
|
|
|
@ -58,7 +58,7 @@ with pkgs;
|
|||
|
||||
# Office.
|
||||
thunderbird
|
||||
libreoffice-fresh
|
||||
(libreoffice-fresh.override { extraMakeWrapperArgs = ["--unset" "WAYLAND_DISPLAY"]; })
|
||||
krita
|
||||
xournalpp
|
||||
kdePackages.itinerary
|
||||
|
|
Loading…
Add table
Reference in a new issue