Modify installed programs
This commit is contained in:
parent
8a1f1cce31
commit
6cff17017b
|
@ -1,6 +1,11 @@
|
|||
{ pkgs, config, nur, ... }:
|
||||
let
|
||||
# FireFox theme, based on https://github.com/Dook97/firefox-qutebrowser-userchrome
|
||||
{ pkgs, config, lib, nur, ... }:
|
||||
{
|
||||
config = lib.mkIf config.home.desktop.enable {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.librewolf;
|
||||
profiles = let
|
||||
# FireFox css, based on https://github.com/Dook97/firefox-qutebrowser-userchrome
|
||||
themeFont = ''
|
||||
--tab-font: '${config.look.fonts.main}';
|
||||
--urlbar-font: '${config.look.fonts.main}';
|
||||
|
@ -27,9 +32,8 @@ let
|
|||
--urlbar-not-focused-bg-color: #${config.look.colors.prime};
|
||||
--toolbar-bgcolor: #${config.look.colors.prime} !important;
|
||||
'';
|
||||
in {
|
||||
# Enable Librewolf and extensions
|
||||
programs.firefox = let
|
||||
|
||||
# Profile settings
|
||||
commonExtensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
ublock-origin
|
||||
bitwarden
|
||||
|
@ -79,7 +83,6 @@ in {
|
|||
];
|
||||
}
|
||||
];
|
||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "@p" ];
|
||||
};
|
||||
"MyNixOS" = {
|
||||
|
@ -129,10 +132,6 @@ in {
|
|||
name = "Kernel";
|
||||
url = "https://www.kernel.org";
|
||||
}
|
||||
{
|
||||
name = "Github";
|
||||
url = "https://github.com";
|
||||
}
|
||||
];
|
||||
commonSettings = {
|
||||
"general.autoScroll" = true;
|
||||
|
@ -214,9 +213,6 @@ in {
|
|||
"media.rdd-ffmpeg.enabled" = true;
|
||||
"media.hardware-video-decoding.force-enabled" = true;
|
||||
|
||||
"gfx.webrender.all" = true;
|
||||
"gfx.x11-egl.force-enabled" = true;
|
||||
|
||||
"signon.rememberSignons" = false;
|
||||
"signon.management.page.breach-alerts.enabled" = false;
|
||||
|
||||
|
@ -231,6 +227,7 @@ in {
|
|||
"middlemouse.paste" = false;
|
||||
|
||||
"identity.fxaccounts.enabled" = false;
|
||||
"gfx.webrender.all" = true;
|
||||
"sidebar.position_start" = false;
|
||||
"datareporting.healthreport.uploadEnabled" = false;
|
||||
"svg.context-properties.content.enabled" = true;
|
||||
|
@ -241,9 +238,6 @@ in {
|
|||
"webgl.disabled" = false;
|
||||
};
|
||||
in {
|
||||
enable = config.home.desktop.enable;
|
||||
package = pkgs.librewolf;
|
||||
profiles = {
|
||||
Main = {
|
||||
id = 0;
|
||||
isDefault = true;
|
||||
|
@ -290,4 +284,5 @@ in {
|
|||
sha256 = "095sv1ann2v7q5bfy65i118ylhp2vkpbgyf6fz84nd9yrx14rzwm";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17,10 +17,7 @@
|
|||
qemu = {
|
||||
ovmf = {
|
||||
enable = true;
|
||||
packages = [
|
||||
pkgs.OVMFFull.fd
|
||||
pkgs.pkgsCross.aarch64-multiplatform.OVMF.fd
|
||||
];
|
||||
packages = with pkgs; [ OVMFFull.fd ];
|
||||
};
|
||||
swtpm.enable = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue