mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
flake.nix: remove module arguments
This commit is contained in:
parent
b3a40a91c3
commit
f62da1bb2d
1 changed files with 2 additions and 2 deletions
|
@ -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) ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue