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