Mildly insane argument passing to modules

This commit is contained in:
Gerg-L 2024-06-12 23:05:45 -04:00
parent 5254992a3a
commit 03fe49b85a
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
32 changed files with 134 additions and 164 deletions

View file

@ -1,9 +1,9 @@
{ _file, self }:
{
self',
lib,
config,
pkgs,
...
}:
{
options.local.allowedUnfree = lib.mkOption {
@ -33,7 +33,7 @@
nix-tree # view packages
pciutils # lspci
;
inherit (self.packages) nix-janitor;
inherit (self'.packages) nix-janitor;
}
);
@ -69,5 +69,4 @@
# Useless with flakes (without configuring)
programs.command-not-found.enable = false;
};
inherit _file;
}