modules/home/desktop/niri/default.nix: redo variables
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -8,7 +8,8 @@
|
|||||||
cfg = config.desktop.niri;
|
cfg = config.desktop.niri;
|
||||||
inherit (osConfig.networking) hostId;
|
inherit (osConfig.networking) hostId;
|
||||||
inherit (config.lib.stylix) colors;
|
inherit (config.lib.stylix) colors;
|
||||||
cursor_size = config.stylix.cursor.size;
|
cursorSize = config.stylix.cursor.size;
|
||||||
|
cursorName = config.stylix.cursor.name;
|
||||||
keyboard =
|
keyboard =
|
||||||
if hostId == "eldrid"
|
if hostId == "eldrid"
|
||||||
then "chromeos"
|
then "chromeos"
|
||||||
@ -425,8 +426,8 @@ in {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cursor {
|
cursor {
|
||||||
xcursor-theme "${config.stylix.cursor.name}"
|
xcursor-theme "${cursorName}"
|
||||||
xcursor-size ${toString cursor_size}
|
xcursor-size ${toString cursorSize}
|
||||||
}
|
}
|
||||||
|
|
||||||
layout {
|
layout {
|
||||||
|
Reference in New Issue
Block a user