flake.nix: remove mkExtraPkgs function

Overlays are a much better way to inject custom packages
This commit is contained in:
NullBite 2024-07-15 11:41:13 -04:00
parent ef1aa3e37b
commit f16d7d316d
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 0 additions and 12 deletions

View File

@ -15,7 +15,6 @@ stuff may not match yet):
- inputs: all specified flake inputs
- vars: attrset of variables that are passed to modules
- The flake also has multiple helper functions:
- `mkExtraPkgs`: Produce a set of packages for the given system
- `eachSystem :: (system -> attrset) -> attrset`: Generate an attrset
of default systems (used for packages)
- `homeManagerInit`: Generate a NixOS Module that initializes

View File

@ -130,13 +130,6 @@
# My current timezone for any mobile devices (i.e., my laptop)
mobileTimeZone = "America/New_York";
# TODO this was something for android-tools. overlays are a better way to
# define packages anyway, probably remove this.
#
# define extra packages here
mkExtraPkgs = system: {
};
# Variables to be passed to NixOS modules in the vars attrset
vars = {
inherit username mobileTimeZone self;
@ -182,7 +175,6 @@
inherit users;
extraSpecialArgs = {
inherit inputs outputs vars nixpkgs home-manager;
extraPkgs = mkExtraPkgs system;
};
};
};
@ -248,7 +240,6 @@
] ++ extraModules;
specialArgs = {
inherit inputs outputs vars nixpkgs home-manager;
extraPkgs = mkExtraPkgs system;
};
};
@ -281,7 +272,6 @@
# values to be passed to nixosModules and homeManagerModules wrappers
moduleInputs = {
inherit mkExtraPkgs;
};
# Make a home-manager standalone configuration. This implementation is
@ -318,7 +308,6 @@
extraSpecialArgs = {
inherit inputs outputs vars nixpkgs home-manager;
extraPkgs = mkExtraPkgs system;
# this is needed because modules don't use the default arg for some reason???
osConfig = {};