diff --git a/modules/nix-settings.nix b/modules/nix-settings.nix index 051f17a..751980b 100644 --- a/modules/nix-settings.nix +++ b/modules/nix-settings.nix @@ -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 = {