feat (home/firefox): firefox-gnome-theme

This commit is contained in:
Henri Saudubray 2025-12-26 14:35:40 +01:00
parent 1a4cfd4e51
commit 4bdddc6a8c

View file

@ -4,16 +4,17 @@
home = { home = {
username = "hms"; username = "hms";
homeDirectory = "/home/hms"; homeDirectory = "/home/hms";
# Packages
packages = with pkgs; [ packages = with pkgs; [
# Utilities # Utilities
neofetch
zip
xz xz
zip
unzip unzip
ripgrep ripgrep
just
tealdeer tealdeer
zoxide zoxide
just
jujutsu jujutsu
# Applications # Applications
@ -22,17 +23,19 @@
zulip zulip
discord discord
signal-desktop signal-desktop
# sgt-puzzles
gapless gapless
# Development # Development
opam ## Typst, LaTeX
tinymist tinymist
texliveFull
## Nix
nixfmt-rfc-style nixfmt-rfc-style
nil nil
texliveFull
]; ];
# Bash configuration
shell.enableBashIntegration = true; shell.enableBashIntegration = true;
shellAliases = { shellAliases = {
":q" = "exit"; ":q" = "exit";
@ -41,11 +44,26 @@
"update" = "sudo nixos-rebuild switch --flake ~/dev/nixos"; "update" = "sudo nixos-rebuild switch --flake ~/dev/nixos";
}; };
# Custom files
file = {
"firefox-gnome-theme" = {
target = ".mozilla/firefox/default/chrome/firefox-gnome-theme";
source = (
fetchTarball {
url = "https://github.com/rafaelmardojai/firefox-gnome-theme/archive/v143.tar.gz";
sha256 = "1gkfi77n8cn5xzl3wi9mggh7adirjrsnbqygg1mcvjy0ynmd6kfh";
}
);
};
};
stateVersion = "25.11"; stateVersion = "25.11";
}; };
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;
# Helix configuration
helix = { helix = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
@ -60,6 +78,21 @@
keys.insert.j.k = "normal_mode"; keys.insert.j.k = "normal_mode";
}; };
}; };
firefox = {
enable = true;
profiles.default = {
name = "Default";
settings = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"svg.context-properties.content.enabled" = true;
"gnomeTheme.hideSingleTab" = true;
};
userChrome = ''
@import "firefox-gnome-theme/userChrome.css";
@import "firefox-gnome-theme/theme/colors/dark.css";
'';
};
};
bat.enable = true; bat.enable = true;
git = { git = {
enable = true; enable = true;