flake: add nur for declarative firefox extensions

This commit is contained in:
Aly Raffauf 2024-06-23 18:02:55 -04:00
parent 957c2851f7
commit af6a429c18
3 changed files with 22 additions and 1 deletions

View file

@ -548,6 +548,21 @@
"type": "github" "type": "github"
} }
}, },
"nur": {
"locked": {
"lastModified": 1719160963,
"narHash": "sha256-hm2XunlO5oD0xh9Z0r1kIQj8UEt1vYeyyFlieN8hkHI=",
"owner": "nix-community",
"repo": "NUR",
"rev": "72137385988d41b40f749b9203f9ba831f4fbe04",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
@ -557,7 +572,8 @@
"iio-hyprland": "iio-hyprland", "iio-hyprland": "iio-hyprland",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixpkgsUnstable": "nixpkgsUnstable", "nixpkgsUnstable": "nixpkgsUnstable",
"nixvim": "nixvim" "nixvim": "nixvim",
"nur": "nur"
} }
}, },
"systems": { "systems": {

View file

@ -35,6 +35,8 @@
url = "github:nix-community/nixvim/nixos-24.05"; url = "github:nix-community/nixvim/nixos-24.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nur.url = github:nix-community/NUR;
}; };
nixConfig = { nixConfig = {
@ -108,6 +110,7 @@
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
inputs.hyprland.nixosModules.default inputs.hyprland.nixosModules.default
inputs.nixvim.nixosModules.nixvim inputs.nixvim.nixosModules.nixvim
inputs.nur.nixosModules.nur
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
self.nixosModules.default self.nixosModules.default
{ {
@ -118,6 +121,7 @@
inputs.agenix.homeManagerModules.default inputs.agenix.homeManagerModules.default
inputs.hyprland.homeManagerModules.default inputs.hyprland.homeManagerModules.default
inputs.nixvim.homeManagerModules.nixvim inputs.nixvim.homeManagerModules.nixvim
inputs.nur.hmModules.nur
self.homeManagerModules.default self.homeManagerModules.default
]; ];

View file

@ -16,6 +16,7 @@
# Overlays over default packages. # Overlays over default packages.
overlays = [ overlays = [
inputs.nur.overlay
(final: prev: { (final: prev: {
audiobookshelf = unstable.audiobookshelf; audiobookshelf = unstable.audiobookshelf;
brave = prev.brave.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";}; brave = prev.brave.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};