From 9031dfb62d328e3f856a7742b0657edfe4f2f48e Mon Sep 17 00:00:00 2001 From: fuckwit Date: Thu, 9 Jan 2025 19:10:30 +0100 Subject: [PATCH] pass nur as overlay and fix firefox module --- home-modules/firefox/default.nix | 2 +- home/configurations.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home-modules/firefox/default.nix b/home-modules/firefox/default.nix index ea7c4c8..7f9bdc4 100644 --- a/home-modules/firefox/default.nix +++ b/home-modules/firefox/default.nix @@ -83,7 +83,7 @@ in { }; settings = mkOption { - type = types.attrsOf (pkgs.formats.json.type + type = types.attrsOf ((pkgs.formats.json {}).type // { description = "Preferences (int, bool, string, and also attrs, list, float as a JSON string)"; }); diff --git a/home/configurations.nix b/home/configurations.nix index 6814c1b..687c166 100644 --- a/home/configurations.nix +++ b/home/configurations.nix @@ -8,7 +8,7 @@ }: let pkgs = import nixpkgs rec { system = "x86_64-linux"; - overlays = [(final: prev: {nixvim = nixvim.packages.${system}.default;}) nurpkgs.overlay]; + overlays = [(final: prev: {nixvim = nixvim.packages.${system}.default;}) nurpkgs.overlays.default]; }; nur = import nurpkgs {