Fixed nur?

This commit is contained in:
Bryan Ramos 2023-06-06 13:16:21 -04:00
parent 4dab7a6a37
commit 0fa67bc1d9
3 changed files with 6 additions and 8 deletions

View file

@ -1,15 +1,13 @@
{ description = "Fully Declarative YOLO"; { description = "Fully Declarative YOLO";
inputs = inputs =
{ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nur = { nur.url = "github:nix-community/NUR";
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = { disko = {
url = "github:nix-community/disko"; url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View file

@ -1,9 +1,9 @@
{ pkgs, ... }: { config, ... }:
{ {
isDefault = true; isDefault = true;
search.default = "Startpage"; search.default = "Startpage";
extensions = with pkgs.nur.repos.rycee.firefox-addons; [ extensions = with config.nur.repos.rycee.firefox-addons; [
ublock-origin ublock-origin
darkreader darkreader
keepassxc-browser keepassxc-browser

View file

@ -9,7 +9,7 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.firefox = { programs.firefox = {
enabled = true; enabled = true;
profiles.bryan = import config/bryan.nix { inherit pkgs; }; profiles.bryan = import config/bryan.nix { inherit config; };
}; };
home.packages = [ home.packages = [