diff --git a/modules/services/window-managers/wayfire.nix b/modules/services/window-managers/wayfire.nix index 0e67a5e44c30..d8b0dfefeacc 100644 --- a/modules/services/window-managers/wayfire.nix +++ b/modules/services/window-managers/wayfire.nix @@ -14,7 +14,7 @@ configIniType = with types; let - primitiveType = either str (either bool number); + primitiveType = either (either str path) (either bool number); sectionType = attrsOf primitiveType; in attrsOf sectionType; diff --git a/tests/modules/services/wayfire/configuration.ini b/tests/modules/services/wayfire/configuration.ini index 1467c269af48..56c5c5760d11 100644 --- a/tests/modules/services/wayfire/configuration.ini +++ b/tests/modules/services/wayfire/configuration.ini @@ -8,3 +8,6 @@ command_terminal=alacritty [core] plugins=command expo cube autostart xwayland=true + +[cube] +skydome_texture=/nix/store/yk5hl40w5254k2xkicn32l8ky8sfm9va-dummy diff --git a/tests/modules/services/wayfire/configuration.nix b/tests/modules/services/wayfire/configuration.nix index 940fb76ae216..055d866af62b 100644 --- a/tests/modules/services/wayfire/configuration.nix +++ b/tests/modules/services/wayfire/configuration.nix @@ -1,3 +1,4 @@ +{ config, ... }: { wayland.windowManager.wayfire = { enable = true; @@ -8,6 +9,7 @@ binding_terminal = "alacritty"; command_terminal = "alacritty"; }; + cube.skydome_texture = config.lib.test.mkStubPackage { }; }; };