flake.nix: remove module arguments

This commit is contained in:
Sean Buckley 2021-11-22 00:38:03 -05:00
parent b3a40a91c3
commit f62da1bb2d

View file

@ -7,7 +7,7 @@
mypkgs = import ./pkgs; mypkgs = import ./pkgs;
pins = _: { pins = {
nix.registry.nixpkgs.flake = nixpkgs; nix.registry.nixpkgs.flake = nixpkgs;
nix.registry.bck.to = { nix.registry.bck.to = {
owner = "buckley310"; owner = "buckley310";
@ -30,7 +30,7 @@
}) })
(builtins.readDir ./modules); (builtins.readDir ./modules);
nixosModule = { pkgs, ... }: { nixosModule = {
imports = builtins.attrValues self.nixosModules; imports = builtins.attrValues self.nixosModules;
nixpkgs.overlays = [ (_: mypkgs) ]; nixpkgs.overlays = [ (_: mypkgs) ];
}; };