Addressed some things nixd complained about
This commit is contained in:
alejandro-angulo 2024-08-03 10:32:02 -07:00
parent 7d8c009c64
commit b9b996bd66
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
25 changed files with 145 additions and 187 deletions

View file

@ -1,17 +1,17 @@
{
config,
lib,
namespace,
...
}:
with lib; let
cfg = config.aa.services.loki;
}: let
cfg = config.${namespace}.services.loki;
loki = config.services.loki;
in {
options.aa.services.loki = with types; {
options.${namespace}.services.loki = with lib; {
enable = mkEnableOption "loki";
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
services.loki = {
enable = true;
configuration = {