nixos: use attrset for long function args

This commit is contained in:
Ching Pei Yang 2024-12-29 18:47:22 +01:00 committed by raf
commit ecc9b60a2d
2 changed files with 6 additions and 2 deletions

View file

@ -1,9 +1,13 @@
# NixOS module
packages: lib: inputs: {
{
self,
lib,
}: {
config,
pkgs,
...
}: let
inherit (self) inputs packages;
inherit (lib) maintainers;
inherit (lib.modules) mkIf mkOverride mkAliasOptionModule;
inherit (lib.lists) optional;