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 = { gui = {
colorscheme = (import ./modules/colorscheme/gruvbox); colorscheme = (import ./modules/colorscheme/gruvbox);
wallpaper = ../../../downloads/nix.jpg; 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.startup.page" = 3; # Restore previous session
"browser.newtabpage.enabled" = false; # Make new tabs blank "browser.newtabpage.enabled" = false; # Make new tabs blank
"general.autoScroll" = true; # Drag middle-mouse to scroll "general.autoScroll" = true; # Drag middle-mouse to scroll
"services.sync.prefs.sync.general.autoScroll" =
false; # Prevent disabling autoscroll
"extensions.pocket.enabled" = false; "extensions.pocket.enabled" = false;
"toolkit.legacyUserProfileCustomizations.stylesheets" = "toolkit.legacyUserProfileCustomizations.stylesheets" =
true; # Allow userChrome.css true; # Allow userChrome.css

View File

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

View File

@ -15,7 +15,10 @@
enable = config.services.xserver.enable; enable = config.services.xserver.enable;
# Make the login screen dark # 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 = { }; getmail = { };
himalaya = { himalaya = {
enable = true; enable = true;
settings = { downloads-dir = config.userDirs.download; }; settings = {
downloads-dir = config.userDirs.download;
smtp-insecure = true;
};
}; };
imap = { imap = {
host = serverHostname; host = serverHostname;