feat: added multiple keyboard layouts

This commit is contained in:
Patrick 2023-09-04 01:14:33 +02:00
parent 6d0c147513
commit 3a09eb1ae8
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 12 additions and 5 deletions

View file

@ -7,9 +7,13 @@ userName: {
users.${userName} = let users.${userName} = let
hmConfig = config.home-manager.users.${userName}; hmConfig = config.home-manager.users.${userName};
in { in {
files = [ files = with lib.lists;
".ssh/known_hosts" [
]; ".ssh/known_hosts"
]
++ optionals hmConfig.programs.rofi.enable [
".cache/rofi-3.runcache"
];
directories = with lib.lists; directories = with lib.lists;
[] []
++ ++
@ -38,6 +42,7 @@ userName: {
[ [
".local/share/Steam" ".local/share/Steam"
".steam" ".steam"
# Ken follets pillars of earth
".local/share//Daedalic Entertainment GmbH/" ".local/share//Daedalic Entertainment GmbH/"
]; ];
}; };

View file

@ -17,8 +17,10 @@
menu = "rofi -show run"; menu = "rofi -show run";
input = { input = {
"*" = { "*" = {
xkb_layout = "de"; xkb_layout = "de,de";
xkb_variant = "bone"; # games are stupid so the main ui has to be de() without bone
xkb_variant = ",bone";
xkb_options = "grp:win_space_toggle";
repeat_delay = "235"; repeat_delay = "235";
repeat_rate = "60"; repeat_rate = "60";
accel_profile = "flat"; accel_profile = "flat";