modules/nix-register-flakes: rework some registry stuff

This commit is contained in:
Max Headroom 2022-03-01 23:14:40 +01:00
parent 21b1f3a93c
commit 237ead528e

View file

@ -10,7 +10,12 @@ with inputs;
nix.registry = { nix.registry = {
system.flake = self; system.flake = self;
nixpkgs.flake = nixpkgs; nixpkgs.to = {
owner = "NixOS";
repo = "nixpkgs";
rev = nixpkgs.rev;
type = "github";
};
default.flake = nixpkgs; default.flake = nixpkgs;
home-manager.flake = home-manager; home-manager.flake = home-manager;
vim.flake = let vim.flake = let
@ -31,6 +36,13 @@ with inputs;
host = "git.privatevoid.net"; host = "git.privatevoid.net";
type = "gitlab"; type = "gitlab";
}; };
config.to = {
owner = "max";
repo = "config";
ref = "master";
host = "git.privatevoid.net";
type = "gitlab";
};
}; };
environment.etc = { environment.etc = {