fixup! Fix Sif drivers + hyprland

This commit is contained in:
Filippo Berto 2024-11-21 20:12:04 +01:00
parent 43a1ed665a
commit 0a8475b407
2 changed files with 4 additions and 3 deletions

View file

@ -2,6 +2,7 @@
with nixosConfig.nix-rice.lib;
let
strPalette = palette.toRgbaShortHex nixosConfig.nix-rice.rice.colorPalette;
inherit (config.networking) hostName;
in
{
imports = [
@ -52,7 +53,7 @@ in
enable = true;
settings = {
input = {
kb_layout = if (nixosConfig.networking.hostName == "thor") or (nixosConfig.networking.hostName == "sif") then "us,it,us" else "it,us,us";
kb_layout = if ((hostName == "thor") or (hostName == "sif")) then "us,it,us" else "it,us,us";
kb_options = "grp:menu_toggle,compose:rctrl";
kb_variant = ",,colemak";
kb_model = "";
@ -62,7 +63,7 @@ in
touchpad.natural_scroll = true;
};
exec = (lib.lists.optionals (nixosConfig.networking.hostName == "thor") [
exec = (lib.lists.optionals (hostName == "thor") [
"xrandr --output DP-3 --primary"
]) ++ [
"noti -t 'Hyprland' -m 'New config loaded\!'"

View file

@ -89,7 +89,7 @@ in
tray.spacing = 10;
clock = {
"interval" = 1;
"format" = "{:%T}";
"format" = "{:%H:%M}";
"tooltip" = true;
"tooltip-format" = "{:%a %d/%m/%y}";
# on-click = "mode";