Merge pull request #195 from iynaix/nix-lines

nix: Use types.lines for settings and autostart_sh
This commit is contained in:
DreamMaoMao 2025-08-10 12:33:58 +08:00 committed by GitHub
commit 7bf918e3a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,7 +72,7 @@ in {
};
settings = mkOption {
description = "mango config content";
type = types.str;
type = types.lines;
default = "";
example = ''
# menu and terminal
@ -82,7 +82,7 @@ in {
};
autostart_sh = mkOption {
description = "WARRNING: This is a shell script, but no need to add shebang";
type = types.str;
type = types.lines;
default = "";
example = ''
waybar &