mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Remove yaml
This commit is contained in:
parent
1a29a73b8e
commit
b94e62279d
1 changed files with 10 additions and 10 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue