fixup! Fix Sif drivers + hyprland
This commit is contained in:
parent
43a1ed665a
commit
0a8475b407
2 changed files with 4 additions and 3 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
with nixosConfig.nix-rice.lib;
|
with nixosConfig.nix-rice.lib;
|
||||||
let
|
let
|
||||||
strPalette = palette.toRgbaShortHex nixosConfig.nix-rice.rice.colorPalette;
|
strPalette = palette.toRgbaShortHex nixosConfig.nix-rice.rice.colorPalette;
|
||||||
|
inherit (config.networking) hostName;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -52,7 +53,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
input = {
|
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_options = "grp:menu_toggle,compose:rctrl";
|
||||||
kb_variant = ",,colemak";
|
kb_variant = ",,colemak";
|
||||||
kb_model = "";
|
kb_model = "";
|
||||||
|
|
@ -62,7 +63,7 @@ in
|
||||||
touchpad.natural_scroll = true;
|
touchpad.natural_scroll = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
exec = (lib.lists.optionals (nixosConfig.networking.hostName == "thor") [
|
exec = (lib.lists.optionals (hostName == "thor") [
|
||||||
"xrandr --output DP-3 --primary"
|
"xrandr --output DP-3 --primary"
|
||||||
]) ++ [
|
]) ++ [
|
||||||
"noti -t 'Hyprland' -m 'New config loaded\!'"
|
"noti -t 'Hyprland' -m 'New config loaded\!'"
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ in
|
||||||
tray.spacing = 10;
|
tray.spacing = 10;
|
||||||
clock = {
|
clock = {
|
||||||
"interval" = 1;
|
"interval" = 1;
|
||||||
"format" = "{:%T}";
|
"format" = "{:%H:%M}";
|
||||||
"tooltip" = true;
|
"tooltip" = true;
|
||||||
"tooltip-format" = "{:%a %d/%m/%y}";
|
"tooltip-format" = "{:%a %d/%m/%y}";
|
||||||
# on-click = "mode";
|
# on-click = "mode";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue