diff --git a/darwinHosts/prometheus/configuration.nix b/darwinHosts/prometheus/configuration.nix index 49045c9..3c3539b 100644 --- a/darwinHosts/prometheus/configuration.nix +++ b/darwinHosts/prometheus/configuration.nix @@ -69,24 +69,45 @@ nix.channel.enable = false; + nix.registry = { self.flake = inputs.self; nixpkgs.flake = inputs.nixpkgs; + + # Commented out because i want to make sure it works if i switch a system + # to another nixpkgs with a different flake input name + # nixpkgs = { + # from = { type = "indirect"; id = "nixpkgs"; }; + # to = { + # path = pkgs.path; + # type = "path"; + # }; + # }; + osbm-nvim.flake = inputs.osbm-nvim; - my-nixpkgs.to = { - owner = "osbm"; - repo = "nixpkgs"; - type = "github"; + my-nixpkgs = { + from = { type = "indirect"; id = "my-nixpkgs"; }; + to = { + owner = "osbm"; + repo = "nixpkgs"; + type = "github"; + }; }; - osbm-dev.to = { - owner = "osbm"; - repo = "osbm.dev"; - type = "github"; + osbm-dev = { + from = { type = "indirect"; id = "osbm-dev"; }; + to = { + owner = "osbm"; + repo = "osbm.dev"; + type = "github"; + }; }; - devshells.to = { - owner = "osbm"; - repo = "devshells"; - type = "github"; + devshells = { + from = { type = "indirect"; id = "devshells"; }; + to = { + owner = "osbm"; + repo = "devshells"; + type = "github"; + }; }; }; diff --git a/modules/nix-settings.nix b/modules/nix-settings.nix index 311f04c..c848ff0 100644 --- a/modules/nix-settings.nix +++ b/modules/nix-settings.nix @@ -77,6 +77,7 @@ repo = "devshells"; type = "github"; }; + }; }; nix.settings.trusted-users = [