2022-02-05 21:42:36 +02:00
|
|
|
{ config, inputs, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with inputs;
|
|
|
|
{
|
|
|
|
nix.nixPath = [
|
|
|
|
"repl=/etc/nix/flake-channels/system/repl.nix"
|
|
|
|
"nixpkgs=/etc/nix/flake-channels/nixpkgs"
|
|
|
|
"home-manager=/etc/nix/flake-channels/home-manager"
|
|
|
|
];
|
|
|
|
|
|
|
|
nix.registry = {
|
|
|
|
system.flake = self;
|
2022-03-02 00:14:40 +02:00
|
|
|
nixpkgs.to = {
|
|
|
|
owner = "NixOS";
|
|
|
|
repo = "nixpkgs";
|
|
|
|
rev = nixpkgs.rev;
|
|
|
|
type = "github";
|
|
|
|
};
|
2022-02-05 21:42:36 +02:00
|
|
|
default.flake = nixpkgs;
|
|
|
|
home-manager.flake = home-manager;
|
|
|
|
templates.to = {
|
|
|
|
owner = "max";
|
|
|
|
repo = "flake-templates";
|
|
|
|
ref = "master";
|
|
|
|
host = "git.privatevoid.net";
|
|
|
|
type = "gitlab";
|
|
|
|
};
|
2022-03-02 00:14:40 +02:00
|
|
|
config.to = {
|
|
|
|
owner = "max";
|
|
|
|
repo = "config";
|
|
|
|
ref = "master";
|
|
|
|
host = "git.privatevoid.net";
|
|
|
|
type = "gitlab";
|
|
|
|
};
|
2022-02-05 21:42:36 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
environment.etc = {
|
|
|
|
"nix/flake-channels/system".source = inputs.self;
|
|
|
|
"nix/flake-channels/nixpkgs".source = nixpkgs;
|
|
|
|
"nix/flake-channels/home-manager".source = home-manager;
|
|
|
|
};
|
|
|
|
}
|