Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos: remove with lib from meta, trivial cases #371874

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nixos/modules/config/stevenblack.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ in
networking.hostFiles = map (x: "${getOutput x cfg.package}/hosts") ([ "ads" ] ++ cfg.block);
};

meta.maintainers = with maintainers; [
meta.maintainers = with lib.maintainers; [
moni
artturin
frontear
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/config/xdg/portal.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ in
];

meta = {
maintainers = teams.freedesktop.members;
maintainers = lib.teams.freedesktop.members;
};

options.xdg.portal = {
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/hardware/uni-sync.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let
cfg = config.hardware.uni-sync;
in
{
meta.maintainers = with maintainers; [ yunfachi ];
meta.maintainers = with lib.maintainers; [ yunfachi ];

options.hardware.uni-sync = {
enable = mkEnableOption "udev rules and software for Lian Li Uni Controllers";
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/programs/bat.nix
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,5 @@ in
};
};
};
meta.maintainers = with maintainers; [ sigmasquadron ];
meta.maintainers = with lib.maintainers; [ sigmasquadron ];
}
2 changes: 1 addition & 1 deletion nixos/modules/programs/pay-respects.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ in
zsh.interactiveShellInit = optionalString config.programs.zsh.enable (initScript "zsh");
};
};
meta.maintainers = with maintainers; [ sigmasquadron ];
meta.maintainers = with lib.maintainers; [ sigmasquadron ];
}
2 changes: 1 addition & 1 deletion nixos/modules/security/isolate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,6 @@ in
description = "Isolate Sandbox Slice";
};

meta.maintainers = with maintainers; [ virchau13 ];
meta.maintainers = with lib.maintainers; [ virchau13 ];
};
}
2 changes: 1 addition & 1 deletion nixos/modules/services/audio/navidrome.nix
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,5 @@ in

networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.settings.Port ];
};
meta.maintainers = with maintainers; [ fsnkty ];
meta.maintainers = with lib.maintainers; [ fsnkty ];
}
Original file line number Diff line number Diff line change
Expand Up @@ -875,5 +875,5 @@ in
)
];

meta.maintainers = teams.gitlab.members;
meta.maintainers = lib.teams.gitlab.members;
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ in

{
meta = {
maintainers = teams.gnome.members;
maintainers = lib.teams.gnome.members;
};

options = {
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/desktops/pipewire/pipewire.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ let
};
in
{
meta.maintainers = teams.freedesktop.members ++ [ maintainers.k900 ];
meta.maintainers = lib.teams.freedesktop.members ++ [ maintainers.k900 ];

###### interface
options = {
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/desktops/pipewire/wireplumber.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ let
scripts;
in
{
meta.maintainers = [ maintainers.k900 ];
meta.maintainers = [ lib.maintainers.k900 ];

options = {
services.pipewire.wireplumber = {
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/hardware/handheld-daemon.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ in
};
};

meta.maintainers = [ maintainers.appsforartists ];
meta.maintainers = [ lib.maintainers.appsforartists ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/hardware/lcd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ in
with lib;
{

meta.maintainers = with maintainers; [ peterhoeg ];
meta.maintainers = with lib.maintainers; [ peterhoeg ];

options = with types; {
services.hardware.lcd = {
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/home-automation/esphome.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ let
"--address ${cfg.address} --port ${toString cfg.port}";
in
{
meta.maintainers = with maintainers; [ oddlama ];
meta.maintainers = with lib.maintainers; [ oddlama ];

options.services.esphome = {
enable = mkEnableOption "esphome, for making custom firmwares for ESP32/ESP8266";
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/matrix/synapse.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,7 @@ in
meta = {
buildDocsInSandbox = false;
doc = ./synapse.md;
maintainers = teams.matrix.members;
maintainers = lib.teams.matrix.members;
};

}
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/anki-sync-server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ in {
};

meta = {
maintainers = with maintainers; [telotortium];
maintainers = with lib.maintainers; [telotortium];
doc = ./anki-sync-server.md;
};
}
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/autosuspend.nix
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,6 @@ in
};

meta = {
maintainers = with maintainers; [ xlambein ];
maintainers = with lib.maintainers; [ xlambein ];
};
}
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/db-rest.nix
Original file line number Diff line number Diff line change
Expand Up @@ -201,5 +201,5 @@ in

services.redis.servers.db-rest.enable = cfg.redis.enable && cfg.redis.createLocally;
};
meta.maintainers = with maintainers; [ marie ];
meta.maintainers = with lib.maintainers; [ marie ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/gitlab.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1721,5 +1721,5 @@ in {
};

meta.doc = ./gitlab.md;
meta.maintainers = teams.gitlab.members;
meta.maintainers = lib.teams.gitlab.members;
}
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/jellyfin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ in

};

meta.maintainers = with maintainers; [
meta.maintainers = with lib.maintainers; [
minijackson
fsnkty
];
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/sourcehut/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ in
];

meta.doc = ./default.md;
meta.maintainers = with maintainers; [
meta.maintainers = with lib.maintainers; [
tomberek
nessdoor
christoph-heiss
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/gatus.nix
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,5 @@ in
networking.firewall.allowedTCPPorts = lib.optionals cfg.openFirewall [ cfg.settings.web.port ];
};

meta.maintainers = with maintainers; [ pizzapim ];
meta.maintainers = with lib.maintainers; [ pizzapim ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/gitwatch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ in
});
};
config.systemd.services = mapAttrs' mkSystemdService config.services.gitwatch;
meta.maintainers = with maintainers; [ shved ];
meta.maintainers = with lib.maintainers; [ shved ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/glances.nix
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,5 @@ in
networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.port ];
};

meta.maintainers = with maintainers; [ claha ];
meta.maintainers = with lib.maintainers; [ claha ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/prometheus/exporters.nix
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,6 @@ in

meta = {
doc = ./exporters.md;
maintainers = [ maintainers.willibutz ];
maintainers = [ lib.maintainers.willibutz ];
};
}
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/scrutiny.nix
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,5 @@ in
})
];

meta.maintainers = [ maintainers.jnsgruk ];
meta.maintainers = [ lib.maintainers.jnsgruk ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/bitcoind.nix
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,6 @@ in

};

meta.maintainers = with maintainers; [ _1000101 ];
meta.maintainers = with lib.maintainers; [ _1000101 ];

}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/dnsproxy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ in
};
};

meta.maintainers = with maintainers; [ diogotcorreia ];
meta.maintainers = with lib.maintainers; [ diogotcorreia ];

}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/hostapd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ let

runtimeConfigFiles = mapAttrsToList (radio: _: "/run/hostapd/${radio}.hostapd.conf") cfg.radios;
in {
meta.maintainers = with maintainers; [ oddlama ];
meta.maintainers = with lib.maintainers; [ oddlama ];

options = {
services.hostapd = {
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/mtr-exporter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,5 @@ in
};
};

meta.maintainers = with maintainers; [ jakubgs ];
meta.maintainers = with lib.maintainers; [ jakubgs ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/mullvad-vpn.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ with lib;
};
};

meta.maintainers = with maintainers; [ arcuru ymarkus ];
meta.maintainers = with lib.maintainers; [ arcuru ymarkus ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/netbird.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let
cfg = config.services.netbird;
in
{
meta.maintainers = with maintainers; [ ];
meta.maintainers = with lib.maintainers; [ ];
meta.doc = ./netbird.md;

options.services.netbird = {
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/networkmanager.nix
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ in
{

meta = {
maintainers = teams.freedesktop.members;
maintainers = lib.teams.freedesktop.members;
};

###### interface
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/nix-store-gcs-proxy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ in
}
);

meta.maintainers = [ maintainers.mrkkrp ];
meta.maintainers = [ lib.maintainers.mrkkrp ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/openconnect.nix
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,5 @@ in
}) cfg.interfaces;
};

meta.maintainers = with maintainers; [ alyaeanyx ];
meta.maintainers = with lib.maintainers; [ alyaeanyx ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/peroxide.nix
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ in
environment.systemPackages = [ cfg.package ];
};

meta.maintainers = with maintainers; [
meta.maintainers = with lib.maintainers; [
aanderse
aidalgol
];
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/pixiecore.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let
cfg = config.services.pixiecore;
in
{
meta.maintainers = with maintainers; [ bbigras ];
meta.maintainers = with lib.maintainers; [ bbigras ];

options = {
services.pixiecore = {
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/routedns.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ in
};
};
};
meta.maintainers = with maintainers; [ jsimonetti ];
meta.maintainers = with lib.maintainers; [ jsimonetti ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/searx.nix
Original file line number Diff line number Diff line change
Expand Up @@ -268,5 +268,5 @@ in
};
};

meta.maintainers = with maintainers; [ rnhmjoj _999eagle ];
meta.maintainers = with lib.maintainers; [ rnhmjoj _999eagle ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/snowflake-proxy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ in
};
};

meta.maintainers = with maintainers; [ yayayayaka ];
meta.maintainers = with lib.maintainers; [ yayayayaka ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/soju.nix
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,5 @@ in
};
};

meta.maintainers = with maintainers; [ malte-v ];
meta.maintainers = with lib.maintainers; [ malte-v ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/tailscale-auth.nix
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ in
};
};

meta.maintainers = with maintainers; [
meta.maintainers = with lib.maintainers; [
dan-theriault
phaer
];
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/tailscale.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let
cfg = config.services.tailscale;
isNetworkd = config.networking.useNetworkd;
in {
meta.maintainers = with maintainers; [ mbaillie mfrw ];
meta.maintainers = with lib.maintainers; [ mbaillie mfrw ];

options.services.tailscale = {
enable = mkEnableOption "Tailscale client daemon";
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/tinc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -431,5 +431,5 @@ in
);
});

meta.maintainers = with maintainers; [ minijackson mic92 ];
meta.maintainers = with lib.maintainers; [ minijackson mic92 ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/tinyproxy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,5 @@ in
};
users.groups.tinyproxy = {};
};
meta.maintainers = with maintainers; [ tcheronneau ];
meta.maintainers = with lib.maintainers; [ tcheronneau ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/tmate-ssh-server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ in
};

meta = {
maintainers = with maintainers; [ jlesquembre ];
maintainers = with lib.maintainers; [ jlesquembre ];
};

}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/trickster.nix
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ in
};
};

meta.maintainers = with maintainers; [ _1000101 ];
meta.maintainers = with lib.maintainers; [ _1000101 ];

}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/v2raya.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ in
};
};

meta.maintainers = with maintainers; [ elliot ];
meta.maintainers = with lib.maintainers; [ elliot ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/veilid.nix
Original file line number Diff line number Diff line change
Expand Up @@ -223,5 +223,5 @@ in
};
};

meta.maintainers = with maintainers; [ figboy9 ];
meta.maintainers = with lib.maintainers; [ figboy9 ];
}
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/wg-netmanager.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ in
};
};

meta.maintainers = with maintainers; [ gin66 ];
meta.maintainers = with lib.maintainers; [ gin66 ];
}
Loading