mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
go back to old nixpkgs pin
This commit is contained in:
parent
e43e174fd4
commit
6c8bfaf6e9
1 changed files with 15 additions and 5 deletions
20
flake.nix
20
flake.nix
|
@ -14,6 +14,20 @@
|
|||
|
||||
forAllSystems = lib.genAttrs [ "x86_64-linux" ];
|
||||
|
||||
pins = {
|
||||
nix.registry.nixpkgs.to = {
|
||||
inherit (nixpkgs) rev;
|
||||
owner = "NixOS";
|
||||
repo = "nixpkgs";
|
||||
type = "github";
|
||||
};
|
||||
nix.registry.bck.to = {
|
||||
owner = "buckley310";
|
||||
repo = "nixos-config";
|
||||
type = "github";
|
||||
};
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
formatter = forAllSystems (system:
|
||||
|
@ -33,13 +47,9 @@
|
|||
|
||||
nixosModules =
|
||||
{
|
||||
inherit pins;
|
||||
inherit (impermanence.nixosModules) impermanence;
|
||||
pkgs.nixpkgs.overlays = [ (_: mypkgs) ];
|
||||
pins.nix.registry.bck.to = {
|
||||
owner = "buckley310";
|
||||
repo = "nixos-config";
|
||||
type = "github";
|
||||
};
|
||||
} //
|
||||
self.lib.dirToAttrs ./modules import;
|
||||
|
||||
|
|
Loading…
Reference in a new issue