set up NUR

This commit is contained in:
Aria Nolan 2023-11-10 13:03:26 -05:00
parent fc8b92f2e6
commit 3433ddb932
2 changed files with 8 additions and 4 deletions

View file

@ -28,7 +28,7 @@
# pass in the urls defined above # pass in the urls defined above
# the @ syntax stores the arguments in the inputs variable # the @ syntax stores the arguments in the inputs variable
outputs = inputs @ { outputs = {
self, self,
nixpkgs, nixpkgs,
home-manager, home-manager,
@ -36,9 +36,12 @@
nixos-hardware, nixos-hardware,
nur, nur,
... ...
}: let } @ inputs: let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = inputs.nixpkgs.legacyPackages.${system}; pkgs = inputs.nixpkgs.legacyPackages.${system};
overlays = [
nur.overlay
];
in { in {
formatter.${system} = pkgs.alejandra; formatter.${system} = pkgs.alejandra;
@ -78,6 +81,7 @@
inherit pkgs; inherit pkgs;
extraSpecialArgs = {inherit inputs;}; # Pass flake inputs to our config extraSpecialArgs = {inherit inputs;}; # Pass flake inputs to our config
modules = [ modules = [
{ nixpkgs.overlays = overlays; }
./users/tacocat/home.nix ./users/tacocat/home.nix
]; ];
}; };

View file

@ -1,9 +1,9 @@
{inputs, ...}: { {pkgs, ...}: {
programs.firefox = { programs.firefox = {
enable = true; enable = true;
profiles = { profiles = {
"aria" = { "aria" = {
extensions = with inputs.nur.repos.rycee.firefox-addons; [ extensions = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin ublock-origin
]; ];
}; };