From 3433ddb932030de48eb1098f4b27bf93f7bcdd60 Mon Sep 17 00:00:00 2001 From: Aria Nolan Date: Fri, 10 Nov 2023 13:03:26 -0500 Subject: [PATCH] set up NUR --- flake.nix | 8 ++++++-- users/tacocat/programs/firefox.nix | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) 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 ]; };