From e90b28967cacc64de7fb8742314ed0d7d12f47c6 Mon Sep 17 00:00:00 2001 From: 1444 <54070204+0x5a4@users.noreply.github.com> Date: Fri, 11 Jul 2025 17:15:54 +0200 Subject: [PATCH] wayfire: allow path in settings (#7427) --- 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 0e67a5e4..d8b0dfef 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 1467c269..56c5c576 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 940fb76a..055d866a 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 { }; }; };