Remove nur

This commit is contained in:
DashieTM 2024-12-22 19:31:20 +01:00
parent 8551193dd2
commit dacf800363
2 changed files with 1 additions and 21 deletions

View file

@ -21,7 +21,6 @@
inputs.hyprland.follows = "hyprland"; inputs.hyprland.follows = "hyprland";
}; };
nur.url = "github:nix-community/nur";
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
ironbar = { ironbar = {
@ -81,7 +80,6 @@
}; };
pkgs = import inputs.nixpkgs { pkgs = import inputs.nixpkgs {
system = "x86_64-linux"; system = "x86_64-linux";
overlays = [ inputs.nur.overlays.default ];
config = { config = {
allowUnsupportedSystem = true; allowUnsupportedSystem = true;
permittedInsecurePackages = permittedPackages; permittedInsecurePackages = permittedPackages;

View file

@ -2,7 +2,6 @@
lib, lib,
config, config,
options, options,
pkgs,
... ...
}: }:
{ {
@ -48,20 +47,6 @@
type = with lib.types; attrsOf anything; type = with lib.types; attrsOf anything;
description = "Firefox policy configuration. See https://mozilla.github.io/policy-templates/ for more information."; description = "Firefox policy configuration. See https://mozilla.github.io/policy-templates/ for more information.";
}; };
extensions = lib.mkOption {
default = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin
darkreader
privacy-badger
vimium
keepassxc-browser
i-dont-care-about-cookies
tokyo-night-v2
];
example = [ ];
type = with lib.types; listOf package;
description = "Firefox extensions (from nur)";
};
profiles = lib.mkOption { profiles = lib.mkOption {
default = [ default = [
{ {
@ -69,7 +54,6 @@
value = { value = {
isDefault = true; isDefault = true;
id = 0; id = 0;
extensions = config.mods.browser.firefox.extensions;
}; };
} }
{ {
@ -77,7 +61,6 @@
value = { value = {
isDefault = false; isDefault = false;
id = 1; id = 1;
extensions = config.mods.browser.firefox.extensions;
}; };
} }
]; ];
@ -87,12 +70,11 @@
value = { value = {
isDefault = true; isDefault = true;
id = 0; id = 0;
extensions = config.mods.browser.firefox.extensions;
}; };
} }
]; ];
type = with lib.types; listOf (attrsOf anything); type = with lib.types; listOf (attrsOf anything);
description = "Firefox extensions (from nur)"; description = "Firefox profiles";
}; };
}; };
config = lib.mkIf config.mods.browser.firefox.enable ( config = lib.mkIf config.mods.browser.firefox.enable (