seeing if it's easier to fork tA's nixos laptop config rather than make one from scratch (more or less).
25개 이상의 토픽을 선택하실 수 없습니다.
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'";
- }
- ];
- };
-
- }
|