Update Tailscale and fix function keys

This commit is contained in:
albert 2023-11-12 22:30:26 +09:00
parent f013bd6800
commit 53cea23814
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 31 additions and 16 deletions

View file

@ -22,34 +22,36 @@
# binde = , XF86AudioRaiseVolume, exec, amixer set Master 3%+
binde = , XF86AudioRaiseVolume, exec, swayosd --output-volume=raise
# F4 - Mute Microphone
# F4 - Previous Track
# bind = , XF86AudioMicMute, exec, amixer set Capture toggle
bind = , XF86AudioMicMute, exec, swayosd --input-volume=mute-toggle
bind = , XF86AudioPrev, exec, playerctl previous
# F5 - Brightness Down
# F5 - Play/Pause
# binde = , XF86MonBrightnessDown, exec, light -U 5
binde = , XF86MonBrightnessDown, exec, swayosd --brightness=lower
binde = , XF86AudioPlay, exec, playerctl play-pause
# F6 - Brightness Up
# F6 - Next Track
# binde = , XF86MonBrightnessUp, exec, light -A 5
binde = , XF86MonBrightnessUp, exec, swayosd --brightness=raise
binde = , XF86AudioNext, exec, playerctl next
# F7 - Brightness Down
# bind = , XF86
binde = , XF86MonBrightnessDown, exec, light -U 5
# F7 - External Displays
# F8 - Brightness Up
# bind = , XF86
binde = , XF86MonBrightnessUp, exec, light -A 5
# F9 - External Displays
# bind = , XF86
# F8 - Airplane Mode
# F10 - Airplane Mode
# bind = , XF86
# F9 - Notifications?
# F11 - PRT SCR
# bind = , XF86
# F10 - Call Answer?
# bind = , XF86
# F11 - Call Hang Up?
# bind = , XF86
# F12 - Favorites?
# F12 - "Framework Button"
# bind = , XF86
# Use rofi as an alt-tab switcher

View file

@ -43,4 +43,17 @@
winetricks
wineWowPackages.waylandFull
];
# Generic Tailscale configs are in /nixos/common/services/tailscale.nix
# Set up the secrets file:
sops.secrets."tailscale_keys/nixos-framework" = {
owner = "root";
sopsFile = ../../../secrets/tailscale.yaml;
restartUnits = [
"tailscaled.service"
"tailscaled-autoconnect.service"
];
};
services.tailscale.authKeyFile = "/run/secrets/tailscale_keys/nixos-framework";
# networking.firewall.allowedTCPPorts = [ 22 ];
}