diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index db0586e..e610663 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, pkgs, ... }: { imports = [ @@ -13,6 +13,10 @@ hardware.graphics.enable = true; + environment.systemPackages = [ + pkgs.brightnessctl # brighness manager for hotkeys + ]; + # tailscale set --exit-node to route through an exit node services.tailscale.enable = true; networking.firewall = { diff --git a/modules/hyprland/default.nix b/modules/hyprland/default.nix index 26e461f..875bfa3 100644 --- a/modules/hyprland/default.nix +++ b/modules/hyprland/default.nix @@ -56,6 +56,12 @@ in "eww open full_screen_bar" ]; + binde = if (hostname == "NicksNixLaptop") then + [ + ",XF86MonBrightnessUp, exec, brightnessctl set 10%+" + ",XF86MonBrightnessDown, exec, brightnessctl set 10%-" + ] else []; + input = if (hostname == "NicksNixLaptop") then { kb_layout = "us";