Remove yaml

This commit is contained in:
muon 2024-12-29 12:06:37 +00:00
parent 1a29a73b8e
commit b94e62279d

View file

@ -8,7 +8,7 @@ let
cfg = config.services.grav; cfg = config.services.grav;
yamlFormat = pkgs.formats.yaml { }; # yamlFormat = pkgs.formats.yaml { };
poolName = "grav"; poolName = "grav";
@ -23,8 +23,8 @@ let
done done
''; '';
systemSettingsYaml = # systemSettingsYaml =
yamlFormat.generate "grav-settings.yaml" cfg.systemSettings; # yamlFormat.generate "grav-settings.yaml" cfg.systemSettings;
in { in {
options.services.grav = { options.services.grav = {
@ -70,13 +70,13 @@ in {
''; '';
}; };
systemSettings = mkOption { # systemSettings = mkOption {
type = yamlFormat.type; # type = yamlFormat.type;
default = { log = { handler = "syslog"; }; }; # default = { log = { handler = "syslog"; }; };
description = '' # description = ''
Settings written to {file}`user/config/system.yaml`. # Settings written to {file}`user/config/system.yaml`.
''; # '';
}; # };
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {