playing with gtk theme package

This commit is contained in:
Noah Masur 2022-05-14 17:36:38 -04:00
parent e3d9fe083c
commit c75bffa0dc
5 changed files with 23 additions and 6 deletions

View File

@ -33,7 +33,10 @@
gui = {
colorscheme = (import ./modules/colorscheme/gruvbox);
wallpaper = ../../../downloads/nix.jpg;
gtkTheme = "Adwaita-dark";
gtk.theme = {
name = "Adwaita-dark";
package = "gnome-themes-extra";
};
};
};

View File

@ -35,6 +35,8 @@
"browser.startup.page" = 3; # Restore previous session
"browser.newtabpage.enabled" = false; # Make new tabs blank
"general.autoScroll" = true; # Drag middle-mouse to scroll
"services.sync.prefs.sync.general.autoScroll" =
false; # Prevent disabling autoscroll
"extensions.pocket.enabled" = false;
"toolkit.legacyUserProfileCustomizations.stylesheets" =
true; # Allow userChrome.css

View File

@ -25,9 +25,15 @@
type = types.str;
description = "Command to use for launching";
};
gtkTheme = mkOption {
gtk.theme = {
name = mkOption {
type = types.str;
description = "Theme for GTK applications";
description = "Theme name for GTK applications";
};
package = mkOption {
type = types.str;
description = "Theme package name for GTK applications";
};
};
colorscheme = mkOption {
type = types.attrs;

View File

@ -15,7 +15,10 @@
enable = config.services.xserver.enable;
# Make the login screen dark
greeters.gtk.theme = { name = config.gui.gtkTheme; };
greeters.gtk.theme = {
name = config.gui.gtk.theme.name;
package = pkgs."${config.gui.gtk.theme.package}";
};
};
};

View File

@ -37,7 +37,10 @@
getmail = { };
himalaya = {
enable = true;
settings = { downloads-dir = config.userDirs.download; };
settings = {
downloads-dir = config.userDirs.download;
smtp-insecure = true;
};
};
imap = {
host = serverHostname;