regreet: Fix wrapper
This commit is contained in:
parent
3985aae70d
commit
612c68728a
1 changed files with 5 additions and 6 deletions
|
@ -8,13 +8,12 @@ with lib;
|
||||||
let
|
let
|
||||||
cfg = config.eboskma.regreet;
|
cfg = config.eboskma.regreet;
|
||||||
|
|
||||||
regreetWrapper = pkgs.writeShellScriptBin "regreet-wrapper" (
|
regreetWrapperText = lib.concatStringsSep "\n" (
|
||||||
lib.concatStringsSep "\n" (lib.optional cfg.wayvnc "${pkgs.wayvnc}/bin/wayvnc 0.0.0.0 &")
|
(lib.optional cfg.wayvnc "${pkgs.wayvnc}/bin/wayvnc 0.0.0.0 &")
|
||||||
++ [
|
++ [ "${lib.getExe pkgs.greetd.regreet}" ]
|
||||||
toString
|
|
||||||
(lib.getExe pkgs.greetd.regreet)
|
|
||||||
]
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
regreetWrapper = pkgs.writeShellScriptBin "regreet-wrapper" regreetWrapperText;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.eboskma.regreet = {
|
options.eboskma.regreet = {
|
||||||
|
|
Loading…
Reference in a new issue