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