Fix Sif drivers + hyprland

This commit is contained in:
Filippo Berto 2024-11-21 20:04:49 +01:00
parent 98a12318de
commit 43a1ed665a
5 changed files with 43 additions and 19 deletions

View file

@ -52,7 +52,7 @@ in
enable = true;
settings = {
input = {
kb_layout = if nixosConfig.networking.hostName == "thor" then "us,it,us" else "it,us,us";
kb_layout = if (nixosConfig.networking.hostName == "thor") or (nixosConfig.networking.hostName == "sif") then "us,it,us" else "it,us,us";
kb_options = "grp:menu_toggle,compose:rctrl";
kb_variant = ",,colemak";
kb_model = "";
@ -62,8 +62,9 @@ in
touchpad.natural_scroll = true;
};
exec = lib.lists.optionals (nixosConfig.networking.hostName == "thor") [
exec = (lib.lists.optionals (nixosConfig.networking.hostName == "thor") [
"xrandr --output DP-3 --primary"
]) ++ [
"noti -t 'Hyprland' -m 'New config loaded\!'"
];
exec-once = [