Skip to content

Commit

Permalink
treewide: remove with lib in meta
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasew committed Jan 7, 2025
1 parent 97de420 commit 1c880b4
Show file tree
Hide file tree
Showing 21,991 changed files with 73,632 additions and 73,461 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
4 changes: 2 additions & 2 deletions nixos/modules/hardware/cpu/x86-msr.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ in
'';
};

meta = with lib; {
maintainers = with maintainers; [ lorenzleutgeb ];
meta = {
maintainers = [ lib.maintainers.lorenzleutgeb ];
};
}
4 changes: 2 additions & 2 deletions nixos/modules/hardware/raid/hpsa.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ let

dontStrip = true;

meta = with lib; {
meta = {
description = "HP Smart Array CLI";
homepage = "https://downloads.linux.hpe.com/SDR/downloads/MCP/Ubuntu/pool/non-free/";
license = licenses.unfreeRedistributable;
license = lib.licenses.unfreeRedistributable;
platforms = [ "x86_64-linux" ];
maintainers = [ ];
};
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;
}
4 changes: 2 additions & 2 deletions nixos/modules/services/desktops/bamf.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Bamf
{ config, lib, pkgs, ... }:
{
meta = with lib; {
maintainers = with lib.maintainers; [ ] ++ lib.teams.pantheon.members;
meta = {
maintainers = [ ] ++ lib.teams.pantheon.members;
};

###### interface
Expand Down
4 changes: 2 additions & 2 deletions nixos/modules/services/desktops/geoclue2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ in
);
};

meta = with lib; {
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
meta = {
maintainers = with lib.maintainers; [ ] ++ lib.teams.pantheon.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
4 changes: 2 additions & 2 deletions nixos/modules/services/desktops/tumbler.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ in
(lib.mkRemovedOptionModule [ "services" "tumbler" "package" ] "")
];

meta = with lib; {
maintainers = with lib.maintainers; [ ] ++ lib.teams.pantheon.members;
meta = {
maintainers = [ ] ++ lib.teams.pantheon.members;
};

###### interface
Expand Down
4 changes: 2 additions & 2 deletions nixos/modules/services/desktops/zeitgeist.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
}:
{

meta = with lib; {
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
meta = {
maintainers = with lib.maintainers; [ ] ++ lib.teams.pantheon.members;
};

###### interface
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
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ stdenv.mkDerivation {
dontStrip = true;
dontPatchELF = true;

meta = with lib; {
meta = {
description = "Brother brscan4 sane backend driver etc files";
homepage = "http://www.brother.com";
platforms = platforms.linux;
license = licenses.unfree;
maintainers = with maintainers; [ jraygauthier ];
platforms = lib.platforms.linux;
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.jraygauthier ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ stdenv.mkDerivation {

dontInstall = true;

meta = with lib; {
meta = {
description = "Brother brscan5 sane backend driver etc files";
homepage = "https://www.brother.com";
platforms = platforms.linux;
license = licenses.unfree;
maintainers = with maintainers; [ mattchrist ];
platforms = lib.platforms.linux;
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.mattchrist ];
};
}
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
4 changes: 2 additions & 2 deletions nixos/modules/services/misc/xmrig.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ in
};
};

meta = with lib; {
maintainers = with maintainers; [ ratsclub ];
meta = {
maintainers = [ lib.maintainers.ratsclub ];
};
}
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
Loading

0 comments on commit 1c880b4

Please sign in to comment.