diff --git a/firefox-addons/default.nix b/firefox-addons/default.nix index f11a808..ce064e9 100644 --- a/firefox-addons/default.nix +++ b/firefox-addons/default.nix @@ -1,6 +1,6 @@ -{pkgs, ...}@args: +{pkgs, nurpkgs, ...}@args: let -rycee-addons = with pkgs.nur.repos.rycee.firefox-addons; [ +rycee-addons = with nurpkgs.repos.rycee.firefox-addons; [ ublock-origin clearurls cookie-autodelete diff --git a/home.nix b/home.nix index f2729cc..15d2f6d 100644 --- a/home.nix +++ b/home.nix @@ -1,16 +1,18 @@ -{ pkgs, lib, stateVersion, ... }@args: +{ pkgs, ... }@args: +let + nurpkgs = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { inherit pkgs; }; +in { home = { username = "pim"; homeDirectory = "/home/pim"; - stateVersion = stateVersion; + stateVersion = "23.05"; packages = with pkgs; [ keepassxc nil moonlight-qt cowsay - home-manager ]; }; @@ -44,7 +46,7 @@ settings = { "browser.aboutConfig.showWarning" = false; }; - extensions = import ./firefox-addons args; + extensions = import ./firefox-addons (args // {inherit nurpkgs; }); }; };