feat: update gnome config

This commit is contained in:
Felix Schröter 2021-05-12 23:11:14 +02:00
parent 7d57567af9
commit 8ef629cac6
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
3 changed files with 7 additions and 24 deletions

View file

@ -1,18 +1,7 @@
{ config, pkgs, ... }:
let
pop-gtk-theme = pkgs.pop-gtk-theme.overrideAttrs (oldAttrs: rec {
postInstall = ''
# fix dark gnome-shell theme
ln -s $out/share/gnome-shell/theme/Pop-dark $out/share/themes/Pop-dark/gnome-shell
'';
});
in
{
gtk.enable = true;
gtk.theme.name = "Pop-dark";
gtk.theme.package = pop-gtk-theme;
gtk.gtk3.extraConfig = {
gtk-application-prefer-dark-theme = true;
};
gtk.theme.name = "Adwaita-dark";
gtk.gtk3.extraConfig = { gtk-application-prefer-dark-theme = true; };
}