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

View File

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

View File

@@ -23,7 +23,6 @@
lxqt.lxqt-policykit lxqt.lxqt-policykit
blueberry blueberry
wl-clipboard wl-clipboard
firefox-wayland
xfce.thunar xfce.thunar
grim grim
slurp 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 = [ imports = [
inputs.ags.hmModule inputs.ags.hmModule
inputs.hyprland.hmModule inputs.hyprland.hmModule
./terminal ./terminal
inputs.rofi.hmModule inputs.rofi.hmModule
inputs.pywal.hmModule inputs.pywal.hmModule
./swaylock ./swaylock
./calcurse ./calcurse
./wayvnc ./wayvnc
./firefox
]; ];
home.packages = [ home.packages = [

View File

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