added firefox config

This commit is contained in:
2024-10-24 21:51:16 -05:00
parent 77b7c16edc
commit 403fa89c5c
6 changed files with 45 additions and 9 deletions

8
flake.lock generated
View File

@@ -1123,11 +1123,11 @@
"locked": {
"lastModified": 0,
"narHash": "sha256-Cc8Y37NuVzPRWEYKOembvCwX9F+vgOluhoPzVfEtafw=",
"path": "/nix/store/nb42ly509ihncgr1jkv1cx0pdr15091s-source/home-manager",
"path": "/nix/store/gaalmwagkhnbz69i0zbivpdi9i48dlcz-source/home-manager",
"type": "path"
},
"original": {
"path": "/nix/store/nb42ly509ihncgr1jkv1cx0pdr15091s-source/home-manager",
"path": "/nix/store/gaalmwagkhnbz69i0zbivpdi9i48dlcz-source/home-manager",
"type": "path"
}
},
@@ -1827,11 +1827,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-Ipi9gad6XxzVUDHKVSWXrLRgkeEh7DWqVAhWYPHfiAc=",
"path": "/nix/store/nb42ly509ihncgr1jkv1cx0pdr15091s-source/system-config",
"path": "/nix/store/gaalmwagkhnbz69i0zbivpdi9i48dlcz-source/system-config",
"type": "path"
},
"original": {
"path": "/nix/store/nb42ly509ihncgr1jkv1cx0pdr15091s-source/system-config",
"path": "/nix/store/gaalmwagkhnbz69i0zbivpdi9i48dlcz-source/system-config",
"type": "path"
}
},

View File

@@ -9,15 +9,18 @@
inputs.nixpkgs.follows = "nixpkgs";
};
impermanence = {
url = "github:nix-community/impermanence";
};
impermanence.url = "github:nix-community/impermanence";
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
system.url = "./system-config";
nixvim.url = "/ssd1/Projects/Nixvim";

View File

@@ -23,7 +23,6 @@
lxqt.lxqt-policykit
blueberry
wl-clipboard
firefox-wayland
xfce.thunar
grim
slurp

View File

@@ -0,0 +1,32 @@
{ config, lib, pkgs, inputs, ... }: {
options.homeconfig.firefox.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.firefox.enable {
programs.firefox = {
enable = true;
package = pkgs.firefox-wayland;
profiles.nathan = {
bookmarks = [
{
name = "NixOS Search - Packages";
url = "https://search.nixos.org/packages";
}
];
extensions = with inputs.firefox-addons.packages.${pkgs.system}; [
ublock-origin
keepassxc-browser
];
};
};
};
}

View File

@@ -21,12 +21,13 @@
imports = [
inputs.ags.hmModule
inputs.hyprland.hmModule
./terminal
./terminal
inputs.rofi.hmModule
inputs.pywal.hmModule
./swaylock
./calcurse
./wayvnc
./firefox
];
home.packages = [

View File

@@ -179,6 +179,7 @@
ags.enable = true;
calcurse.enable = true;
rofi.enable = true;
firefox.enable = true;
};
}
];