From 47746c387a5b733ec1abeae65d8ddc0c098c84d0 Mon Sep 17 00:00:00 2001 From: Aria Nolan Date: Sun, 5 Nov 2023 01:32:53 -0500 Subject: [PATCH] :( --- flake.lock | 18 +++++++++++++++++- flake.nix | 2 ++ users/tacocat/programs/firefox.nix | 4 ++-- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 70cc70d..0e45420 100644 --- a/flake.lock +++ b/flake.lock @@ -140,12 +140,28 @@ "type": "github" } }, + "nur": { + "locked": { + "lastModified": 1699163564, + "narHash": "sha256-Jxb/JkUJhXKalVRlhnh2B+lkGASxQ5vrymcHtU71qyI=", + "owner": "nix-community", + "repo": "nur", + "rev": "88abb29a4bfbd84a2f20380c2595db77d36c3635", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nur", + "type": "github" + } + }, "root": { "inputs": { "helix": "helix", "home-manager": "home-manager", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs", + "nur": "nur" } }, "rust-overlay": { diff --git a/flake.nix b/flake.nix index 9181478..653ef78 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; nixos-hardware.url = "github:NixOs/nixos-hardware/master"; + nur.url = "github:nix-community/nur"; }; # pass in the urls defined above @@ -33,6 +34,7 @@ home-manager, helix, nixos-hardware, + nur, ... }: let system = "x86_64-linux"; diff --git a/users/tacocat/programs/firefox.nix b/users/tacocat/programs/firefox.nix index 67ff8a1..c3e8e09 100644 --- a/users/tacocat/programs/firefox.nix +++ b/users/tacocat/programs/firefox.nix @@ -1,9 +1,9 @@ -{pkgs, ...}: { +{inputs, ...}: { programs.firefox = { enable = true; profiles = { "aria" = { - extensions = with pkgs.nur.repos.rycee.firefox-addons; [ + extensions = with inputs.nur.repos.rycee.firefox-addons; [ ublock-origin ]; };