Skip to content

Commit 0a1c748

Browse files
authored
feat(wrapperModules.quickshell): add 'configDir' option (#552)
1 parent 8c90cbe commit 0a1c748

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

wrapperModules/q/quickshell/module.nix

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,15 @@ in
2727
The quickshell shell.qml configuration file.
2828
2929
Provide either inlined configuration or reference an external file.
30-
It is used by quickshell using `--path`.
30+
'';
31+
};
32+
configDir = mkOption {
33+
type = wlib.types.linkable;
34+
default = config.generated.placeholder;
35+
description = ''
36+
The full quickshell configuration directory.
37+
38+
It is passed to quickshell using `--path`.
3139
'';
3240
};
3341
components = mkOption {
@@ -49,7 +57,7 @@ in
4957
};
5058

5159
config.package = mkDefault pkgs.quickshell;
52-
config.flags."--path" = config.generated.placeholder;
60+
config.flags."--path" = config.configDir;
5361

5462
config.passthru.generatedConfigDir = "${
5563
config.wrapper.${config.generated.output}

0 commit comments

Comments
 (0)