Kieran's opinionated (and probably slightly dumb) nix config

bug: fix tuigreet strings not being escaped

dunkirk.sh 0c3657c3 b64240ed

verified
+4 -4
+4 -4
modules/nixos/apps/tuigreet.nix
··· 75 75 ] 76 76 ++ lib.optionals (cfg.sessionWrapper != null && cfg.sessionWrapper != [ ]) [ 77 77 "--session-wrapper" 78 - (lib.concatStringsSep " " cfg.sessionWrapper) 78 + (lib.escapeShellArg (lib.concatStringsSep " " cfg.sessionWrapper)) 79 79 ] 80 80 ++ lib.optionals (cfg.xsessionWrapper != null && cfg.xsessionWrapper != [ ]) [ 81 81 "--xsession-wrapper" 82 - (lib.concatStringsSep " " cfg.xsessionWrapper) 82 + (lib.escapeShellArg (lib.concatStringsSep " " cfg.xsessionWrapper)) 83 83 ] 84 84 ++ lib.optionals cfg.noXsessionWrapper [ "--no-xsession-wrapper" ] 85 85 ++ lib.optionals (cfg.powerShutdown != null && cfg.powerShutdown != [ ]) [ 86 86 "--power-shutdown" 87 - (lib.concatStringsSep " " cfg.powerShutdown) 87 + (lib.escapeShellArg (lib.concatStringsSep " " cfg.powerShutdown)) 88 88 ] 89 89 ++ lib.optionals (cfg.powerReboot != null && cfg.powerReboot != [ ]) [ 90 90 "--power-reboot" 91 - (lib.concatStringsSep " " cfg.powerReboot) 91 + (lib.escapeShellArg (lib.concatStringsSep " " cfg.powerReboot)) 92 92 ] 93 93 ++ lib.optionals cfg.powerNoSetsid [ "--power-no-setsid" ] 94 94 ++ lib.optionals (cfg.kbCommand != null) [