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
|
||||
default = {
|
||||
hostName = "Atlas";
|
||||
|
@ -70,7 +70,10 @@
|
|||
auto-optimise-store = true;
|
||||
};
|
||||
channel.enable = true;
|
||||
registry.nixpkgs.flake = nixpkgs;
|
||||
registry = {
|
||||
nixpkgs.flake = nixpkgs;
|
||||
nixos.flake = self;
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 7d";
|
||||
|
|
Loading…
Reference in a new issue