Add self (nixos config flake) to registry as "nixos"
Don't know why yet, but could be nice to have int the future. Note this the whole config flake, rather than just the pinned version of nixpkgs
This commit is contained in:
parent
892cc20fd1
commit
49f4725d9a
|
@ -13,7 +13,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, stylix, ... }:
|
outputs = { self, nixpkgs, home-manager, stylix, ... }:
|
||||||
let
|
let
|
||||||
default = {
|
default = {
|
||||||
hostName = "Atlas";
|
hostName = "Atlas";
|
||||||
|
@ -70,7 +70,10 @@
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
};
|
};
|
||||||
channel.enable = true;
|
channel.enable = true;
|
||||||
registry.nixpkgs.flake = nixpkgs;
|
registry = {
|
||||||
|
nixpkgs.flake = nixpkgs;
|
||||||
|
nixos.flake = self;
|
||||||
|
};
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
options = "--delete-older-than 7d";
|
options = "--delete-older-than 7d";
|
||||||
|
|
Loading…
Reference in a new issue