diff --git a/configuration.nix b/configuration.nix index 0775d7f..441b48e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,8 +7,8 @@ { imports = [ - ./hardware-configuration.nix - ./user-jsutter.nix + /etc/nixos/hardware-configuration.nix + /etc/nixos/user-jsutter.nix ]; # Bootloader. @@ -35,7 +35,6 @@ }; }; - networking.hostName = "framework"; # Define your hostname. networking.networkmanager.enable = true; # Set your time zone. @@ -136,6 +135,7 @@ bumblebee glxinfo libgdiplus + gnome.gnome-tweaks ]; # GNUPG Stuff diff --git a/user-jsutter.nix b/user-jsutter.nix index bf9767d..c6ba4be 100644 --- a/user-jsutter.nix +++ b/user-jsutter.nix @@ -23,5 +23,30 @@ in experimental-features = [ "scale-monitor-framebuffer" ]; }; }; + +# Add Firefox GNOME theme directory +home.file."firefox-gnome-theme" = { + target = ".mozilla/firefox/default/chrome/firefox-gnome-theme"; + source = (fetchTarball "https://github.com/rafaelmardojai/firefox-gnome-theme/archive/master.tar.gz"); +}; + +programs.firefox = { + enable = true; + profiles.default = { + name = "Default"; + settings = { + "extensions.activeThemeID" = "firefox-compact-dark@mozilla.org"; + + # For Firefox GNOME theme: + "toolkit.legacyUserProfileCustomizations.stylesheets" = true; + "browser.tabs.drawInTitlebar" = true; + "svg.context-properties.content.enabled" = true; + }; + userChrome = '' + @import "firefox-gnome-theme/userChrome.css"; + @import "firefox-gnome-theme/theme/colors/dark.css"; + ''; + }; + }; }; }