From 612c68728a3ace30b0d458e15be107c0fa8c3698 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Tue, 4 Jun 2024 09:42:03 +0200 Subject: [PATCH] regreet: Fix wrapper --- modules/regreet/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/regreet/default.nix b/modules/regreet/default.nix index 4c16576..126327f 100644 --- a/modules/regreet/default.nix +++ b/modules/regreet/default.nix @@ -8,13 +8,12 @@ with lib; let cfg = config.eboskma.regreet; - regreetWrapper = pkgs.writeShellScriptBin "regreet-wrapper" ( - lib.concatStringsSep "\n" (lib.optional cfg.wayvnc "${pkgs.wayvnc}/bin/wayvnc 0.0.0.0 &") - ++ [ - toString - (lib.getExe pkgs.greetd.regreet) - ] + regreetWrapperText = lib.concatStringsSep "\n" ( + (lib.optional cfg.wayvnc "${pkgs.wayvnc}/bin/wayvnc 0.0.0.0 &") + ++ [ "${lib.getExe pkgs.greetd.regreet}" ] ); + + regreetWrapper = pkgs.writeShellScriptBin "regreet-wrapper" regreetWrapperText; in { options.eboskma.regreet = {