chore: move meta option to top level in many modules

This commit is contained in:
Nico Felbinger 2025-02-19 21:00:29 +01:00
parent f7b20f6d75
commit e0d1b49a46
No known key found for this signature in database
GPG Key ID: 6E4C8C7087EFEEAE
14 changed files with 35 additions and 39 deletions

View File

@ -369,11 +369,10 @@ in
; ;
inherit fileSystems definitionsDirectory mkfsEnv; inherit fileSystems definitionsDirectory mkfsEnv;
}; };
meta.maintainers = with lib.maintainers; [
nikstur
willibutz
];
}; };
meta.maintainers = with lib.maintainers; [
nikstur
willibutz
];
} }

View File

@ -140,7 +140,7 @@ in
systemd.slices.isolate = { systemd.slices.isolate = {
description = "Isolate Sandbox Slice"; description = "Isolate Sandbox Slice";
}; };
meta.maintainers = with maintainers; [ virchau13 ];
}; };
meta.maintainers = with maintainers; [ virchau13 ];
} }

View File

@ -121,7 +121,5 @@ in
sshAgentAuth = true; sshAgentAuth = true;
usshAuth = true; usshAuth = true;
}; };
meta.maintainers = [ ];
}; };
} }

View File

@ -125,7 +125,7 @@ in
networking.firewall = lib.mkIf cfg.openFirewall { networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ cfg.port ]; allowedTCPPorts = [ cfg.port ];
}; };
meta.maintainers = [ lib.maintainers.cafkafk ];
}; };
meta.maintainers = [ lib.maintainers.cafkafk ];
} }

View File

@ -180,12 +180,12 @@ in
}; };
}; };
config = mkIf cfg.enable { meta.maintainers = with lib.maintainers; [
meta.maintainers = with lib.maintainers; [ thoughtpolice
thoughtpolice vifino
vifino ];
];
config = mkIf cfg.enable {
environment.systemPackages = [ chronyPkg ]; environment.systemPackages = [ chronyPkg ];
users.groups.chrony.gid = config.ids.gids.chrony; users.groups.chrony.gid = config.ids.gids.chrony;

View File

@ -126,9 +126,9 @@ in
###### implementation ###### implementation
config = mkIf config.services.ntp.enable { meta.maintainers = with lib.maintainers; [ thoughtpolice ];
meta.maintainers = with lib.maintainers; [ thoughtpolice ];
config = mkIf config.services.ntp.enable {
# Make tools such as ntpq available in the system path. # Make tools such as ntpq available in the system path.
environment.systemPackages = [ pkgs.ntp ]; environment.systemPackages = [ pkgs.ntp ];
services.timesyncd.enable = mkForce false; services.timesyncd.enable = mkForce false;

View File

@ -58,8 +58,9 @@ in
###### implementation ###### implementation
meta.maintainers = with lib.maintainers; [ thoughtpolice ];
config = mkIf cfg.enable { config = mkIf cfg.enable {
meta.maintainers = with lib.maintainers; [ thoughtpolice ];
services.timesyncd.enable = mkForce false; services.timesyncd.enable = mkForce false;
# Add ntpctl to the environment for status checking # Add ntpctl to the environment for status checking

View File

@ -222,13 +222,13 @@ in
Type = "forking"; Type = "forking";
}; };
}; };
meta.maintainers = with lib.maintainers; [
# Server side
lschuermann
# Client side
das_j
];
}; };
meta.maintainers = with lib.maintainers; [
# Server side
lschuermann
# Client side
das_j
];
} }

View File

@ -64,7 +64,7 @@ in
RestartSec = "5s"; RestartSec = "5s";
}; };
}; };
meta.maintainers = with lib.maintainers; [ malte-v ];
}; };
meta.maintainers = with lib.maintainers; [ malte-v ];
} }

View File

@ -87,9 +87,10 @@ in
}; };
meta.maintainers = with lib.maintainers; [ _0x4A6F ];
config = mkIf cfg.enable (mkMerge [ config = mkIf cfg.enable (mkMerge [
{ {
meta.maintainers = with lib.maintainers; [ _0x4A6F ];
systemd.services.xandikos = { systemd.services.xandikos = {
description = "A Simple Calendar and Contact Server"; description = "A Simple Calendar and Contact Server";

View File

@ -92,7 +92,6 @@ in
}; };
networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.port ]; networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.port ];
meta.maintainers = with lib.maintainers; [ jaculabilis ];
}; };
meta.maintainers = with lib.maintainers; [ jaculabilis ];
} }

View File

@ -389,7 +389,6 @@ in
}; };
}; };
users.groups = mkIf (cfg.group == "immich") { immich = { }; }; users.groups = mkIf (cfg.group == "immich") { immich = { }; };
meta.maintainers = with lib.maintainers; [ jvanbruegge ];
}; };
meta.maintainers = with lib.maintainers; [ jvanbruegge ];
} }

View File

@ -108,11 +108,11 @@ in
}; };
}; };
meta.maintainers = with lib.maintainers; [ fliegendewurst ];
config = lib.mkIf cfg.enable ( config = lib.mkIf cfg.enable (
lib.mkMerge [ lib.mkMerge [
{ {
meta.maintainers = with lib.maintainers; [ fliegendewurst ];
users.groups.trilium = { }; users.groups.trilium = { };
users.users.trilium = { users.users.trilium = {
description = "Trilium User"; description = "Trilium User";

View File

@ -111,8 +111,7 @@ in
--config=${cfg.configFile} \ --config=${cfg.configFile} \
--output="$out/${config.system.boot.loader.ukiFile}" --output="$out/${config.system.boot.loader.ukiFile}"
''; '';
meta.maintainers = with lib.maintainers; [ nikstur ];
}; };
meta.maintainers = with lib.maintainers; [ nikstur ];
} }