Gnome: install firefox gnome theme
This commit is contained in:
parent
c3ee394131
commit
b061708ce7
2 changed files with 23 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./blackbox.nix
|
./blackbox.nix
|
||||||
|
./firefox.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
22
roles/gnome/programs/firefox.nix
Normal file
22
roles/gnome/programs/firefox.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{pkgs, ...}: let
|
||||||
|
firefox-gnome-theme = pkgs.fetchFromGitHub {
|
||||||
|
owner = "rafaelmardojai";
|
||||||
|
repo = "firefox-gnome-theme";
|
||||||
|
rev = "v129";
|
||||||
|
hash = "sha256-MOE9NeU2i6Ws1GhGmppMnjOHkNLl2MQMJmGhaMzdoJM=";
|
||||||
|
};
|
||||||
|
profile-location = ".mozilla/firefox/jdnxpg97.temp";
|
||||||
|
in {
|
||||||
|
home-manager.users.toast = {
|
||||||
|
programs.firefox = {
|
||||||
|
enableGnomeExtensions = true;
|
||||||
|
};
|
||||||
|
home.file."${profile-location}/chrome".source = firefox-gnome-theme;
|
||||||
|
};
|
||||||
|
programs.firefox = {
|
||||||
|
autoConfig = ''
|
||||||
|
lockPref("toolkit.legacyUserProfileCustomizations.stylesheets",true);
|
||||||
|
lockPref("svg.context-properties.content.enabled",true);
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue