config/modules/nix-register-flakes/default.nix
Max 707ba820b3 remove nnvim
flake.lock: Update

Flake lock file updates:

• Removed input 'modular-nvim'
• Removed input 'modular-nvim/neovim-nightly'
• Removed input 'modular-nvim/neovim-nightly/flake-utils'
• Removed input 'modular-nvim/neovim-nightly/nixpkgs'
• Removed input 'modular-nvim/nixpkgs'
2022-03-31 01:43:00 +02:00

43 lines
975 B
Nix

{ 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;
nixpkgs.to = {
owner = "NixOS";
repo = "nixpkgs";
rev = nixpkgs.rev;
type = "github";
};
default.flake = nixpkgs;
home-manager.flake = home-manager;
templates.to = {
owner = "max";
repo = "flake-templates";
ref = "master";
host = "git.privatevoid.net";
type = "gitlab";
};
config.to = {
owner = "max";
repo = "config";
ref = "master";
host = "git.privatevoid.net";
type = "gitlab";
};
};
environment.etc = {
"nix/flake-channels/system".source = inputs.self;
"nix/flake-channels/nixpkgs".source = nixpkgs;
"nix/flake-channels/home-manager".source = home-manager;
};
}