From ec28e1ffdcb489fbe64d081cbd69b284ea2705c9 Mon Sep 17 00:00:00 2001 From: Lin Xianyi Date: Sun, 10 Aug 2025 08:41:38 +0800 Subject: [PATCH] nix: Use types.lines for settings and autostart_sh --- nix/hm-modules.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/hm-modules.nix b/nix/hm-modules.nix index 38875a4..1d1edd4 100644 --- a/nix/hm-modules.nix +++ b/nix/hm-modules.nix @@ -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 &