use the nix registries

This commit is contained in:
Osman Faruk Bayram 2025-04-21 14:04:17 +03:00
parent 97df4cd65c
commit 7ed7eaa602

View file

@ -28,13 +28,25 @@
# enable nix flakes
nix.settings.experimental-features = ["nix-command" "flakes"];
nix.nixPath = [
"nixpkgs=${inputs.nixpkgs}"
"nixos-config=${inputs.self}"
];
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
nix.channel.enable = false;
nix.registry = {
self.flake = inputs.self;
osbm-nvim = {
to = {
owner = "osbm";
repo = "osbm-nvim";
type = "github";
};
from = {
id = "osbm-nvim";
type = "indirect";
};
};
};
nix.settings.trusted-users = ["root" "osbm"];
nix.gc = {