my laptops nixos configuration, hopefully less messy this time (but still a lil' messy)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- { pkgs, ... }:
-
- {
-
- # to do: make this parameterised
- services.actkbd = {
- enable = true;
- bindings = [
- { keys = [ 113 ];
- events = [ "key" ];
- command =
- "/run/current-system/sw/bin/runuser -l thorn -c '${pkgs.alsaUtils}/bin/amixer -q set Master toggle'";
- }
- { keys = [ 114 ];
- events = [ "key" "rep" ];
- command =
- "/run/current-system/sw/bin/runuser -l thorn -c '${pkgs.alsaUtils}/bin/amixer -q -c 0 set Master 4- unmute'";
- }
- { keys = [ 115 ];
- events = [ "key" "rep" ];
- command =
- "/run/current-system/sw/bin/runuser -l thorn -c '${pkgs.alsaUtils}/bin/amixer -q -c 0 set Master 4+ unmute'";
- }
- ];
- };
-
- }
|