add browser extensions

This commit is contained in:
logical-code 2025-07-11 00:31:35 -04:00
parent 2800687662
commit 0015c62414
3 changed files with 33 additions and 16 deletions

View file

@ -3,21 +3,26 @@
lib, lib,
pkgs, pkgs,
... ...
}: let }:
let
cfg = config.core; cfg = config.core;
in { in
imports = [./gaming.nix ./desktop.nix]; {
imports = [
./gaming.nix
./desktop.nix
];
config = { config = {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
btop btop
wget wget
]; ];
programs= { programs = {
nh = { nh = {
enable = true; enable = true;
flake = "/home/brandon/.nixos-conf"; flake = "/home/brandon/.nixos-conf";
}; };
git = { git = {
enable = true; enable = true;
@ -30,5 +35,5 @@ in {
}; };
}; };
}; };
} }

View file

@ -3,12 +3,14 @@
lib, lib,
pkgs, pkgs,
... ...
}: let }:
let
inherit (lib.modules) mkIf; inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption; inherit (lib.options) mkEnableOption;
cfg = config.core.desktop; cfg = config.core.desktop;
in { in
{
options.core.desktop = { options.core.desktop = {
enable = mkEnableOption "Config and Utils for Desktop"; enable = mkEnableOption "Config and Utils for Desktop";
}; };
@ -21,4 +23,4 @@ in {
nixfmt-rfc-style nixfmt-rfc-style
]; ];
}; };
} }

View file

@ -3,12 +3,14 @@
lib, lib,
pkgs, pkgs,
... ...
}: let }:
let
inherit (lib.modules) mkIf; inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption; inherit (lib.options) mkEnableOption;
cfg = config.core.gaming; cfg = config.core.gaming;
in { in
{
options.core.gaming = { options.core.gaming = {
enable = mkEnableOption "Config and Utils for gaming"; enable = mkEnableOption "Config and Utils for gaming";
@ -26,14 +28,22 @@ in {
programs = { programs = {
steam = { steam = {
enable=true; enable = true;
remotePlay.openFirewall = lib.mkDefault true; remotePlay.openFirewall = lib.mkDefault true;
localNetworkGameTransfers.openFirewall = lib.mkDefault true; localNetworkGameTransfers.openFirewall = lib.mkDefault true;
extest.enable = lib.mkDefault true; extest.enable = lib.mkDefault true;
protontricks.enable = lib.mkDefault true; protontricks.enable = lib.mkDefault true;
}; };
gamemode.enable = true; gamemode.enable = true;
chromium = {
enable = true;
extensions = [
"jplnlifepflhkbkgonidnobkakhmpnmh" #PIA
"nngceckbapebfimnlniiiahkandclblb" #Bitwarden
"hlkenndednhfkekhgcdicdfddnkalmdm" #Cookie Editor
]
}
}; };
}; };
} }