From 607ccb2549ef442cbc774e89ba741abc7eb31687 Mon Sep 17 00:00:00 2001 From: 0x5a4 <1444@wienstroer.net> Date: Fri, 11 Jul 2025 00:03:12 +0200 Subject: [PATCH] wayfire: allow path in settings --- modules/services/window-managers/wayfire.nix | 2 +- tests/modules/services/wayfire/configuration.ini | 3 +++ tests/modules/services/wayfire/configuration.nix | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) 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 { }; }; };