tangled
alpha
login
or
join now
dunkirk.sh
/
dots
3
fork
atom
Kieran's opinionated (and probably slightly dumb) nix config
3
fork
atom
overview
issues
pulls
pipelines
bug: fix tuigreet strings not being escaped
dunkirk.sh
7 months ago
0c3657c3
b64240ed
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+4
-4
1 changed file
expand all
collapse all
unified
split
modules
nixos
apps
tuigreet.nix
+4
-4
modules/nixos/apps/tuigreet.nix
···
75
75
]
76
76
++ lib.optionals (cfg.sessionWrapper != null && cfg.sessionWrapper != [ ]) [
77
77
"--session-wrapper"
78
78
-
(lib.concatStringsSep " " cfg.sessionWrapper)
78
78
+
(lib.escapeShellArg (lib.concatStringsSep " " cfg.sessionWrapper))
79
79
]
80
80
++ lib.optionals (cfg.xsessionWrapper != null && cfg.xsessionWrapper != [ ]) [
81
81
"--xsession-wrapper"
82
82
-
(lib.concatStringsSep " " cfg.xsessionWrapper)
82
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
87
-
(lib.concatStringsSep " " cfg.powerShutdown)
87
87
+
(lib.escapeShellArg (lib.concatStringsSep " " cfg.powerShutdown))
88
88
]
89
89
++ lib.optionals (cfg.powerReboot != null && cfg.powerReboot != [ ]) [
90
90
"--power-reboot"
91
91
-
(lib.concatStringsSep " " cfg.powerReboot)
91
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) [