use the nix registries
This commit is contained in:
parent
97df4cd65c
commit
7ed7eaa602
1 changed files with 16 additions and 4 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue