mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +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" ];
|
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
|
in
|
||||||
{
|
{
|
||||||
formatter = forAllSystems (system:
|
formatter = forAllSystems (system:
|
||||||
|
@ -33,13 +47,9 @@
|
||||||
|
|
||||||
nixosModules =
|
nixosModules =
|
||||||
{
|
{
|
||||||
|
inherit pins;
|
||||||
inherit (impermanence.nixosModules) impermanence;
|
inherit (impermanence.nixosModules) impermanence;
|
||||||
pkgs.nixpkgs.overlays = [ (_: mypkgs) ];
|
pkgs.nixpkgs.overlays = [ (_: mypkgs) ];
|
||||||
pins.nix.registry.bck.to = {
|
|
||||||
owner = "buckley310";
|
|
||||||
repo = "nixos-config";
|
|
||||||
type = "github";
|
|
||||||
};
|
|
||||||
} //
|
} //
|
||||||
self.lib.dirToAttrs ./modules import;
|
self.lib.dirToAttrs ./modules import;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue