Merge branch 'development' of git.malice.zone:alisceon/nixos_config into development

This commit is contained in:
alisceon 2025-12-11 20:25:40 +01:00
commit c9e047a1af

View file

@ -154,8 +154,11 @@
}
]; # end events
}; # end swayidle
}
}
else {};
hostnameInputs =
if hostName == "tower" then "us,se"
else "se,us";
in
{
wayland.windowManager.sway = {
@ -188,7 +191,7 @@
accel_profile = "flat";
};
"*" = {
xkb_layout = "us,se";
xkb_layout = hostnameInputs;
xkb_options = "grp:win_space_toggle";
};
}; # end input
@ -274,8 +277,8 @@
"XF86AudioLowerVolume" = "exec 'pactl set-sink-volume @DEFAULT_SINK@ -3%'";
"XF86AudioMute" = "exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'";
"XF86AudioPlay" = "exec 'playerctl play-pause'";
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 10";
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 10";
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 9";
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 3";
}; # end keybindings
window = {
titlebar = false;