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

View file

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