diff --git a/flake.nix b/flake.nix index 653ef78..3b4c780 100644 --- a/flake.nix +++ b/flake.nix @@ -28,7 +28,7 @@ # pass in the urls defined above # the @ syntax stores the arguments in the inputs variable - outputs = inputs @ { + outputs = { self, nixpkgs, home-manager, @@ -36,9 +36,12 @@ nixos-hardware, nur, ... - }: let + } @ inputs: let system = "x86_64-linux"; pkgs = inputs.nixpkgs.legacyPackages.${system}; + overlays = [ + nur.overlay + ]; in { formatter.${system} = pkgs.alejandra; @@ -78,6 +81,7 @@ inherit pkgs; extraSpecialArgs = {inherit inputs;}; # Pass flake inputs to our config modules = [ + { nixpkgs.overlays = overlays; } ./users/tacocat/home.nix ]; }; diff --git a/users/tacocat/programs/firefox.nix b/users/tacocat/programs/firefox.nix index c3e8e09..67ff8a1 100644 --- a/users/tacocat/programs/firefox.nix +++ b/users/tacocat/programs/firefox.nix @@ -1,9 +1,9 @@ -{inputs, ...}: { +{pkgs, ...}: { programs.firefox = { enable = true; profiles = { "aria" = { - extensions = with inputs.nur.repos.rycee.firefox-addons; [ + extensions = with pkgs.nur.repos.rycee.firefox-addons; [ ublock-origin ]; };