helm/modules/themes/aquanaut/default.nix

81 lines
2.1 KiB
Nix
Raw Normal View History

2020-03-28 22:48:43 -07:00
# themes/aquanaut/default.nix --- a sea-blue linux theme
2020-01-12 15:17:17 -08:00
2020-03-28 22:48:43 -07:00
{ config, options, lib, pkgs, ... }:
with lib;
2020-01-12 15:17:17 -08:00
{
2020-03-28 22:48:43 -07:00
options.modules.themes.aquanaut = {
enable = mkOption {
type = types.bool;
default = false;
};
};
2020-01-12 15:17:17 -08:00
2020-03-28 22:48:43 -07:00
config = mkIf config.modules.themes.aquanaut.enable {
modules.theme = {
name = "Aquanaut";
version = "0.1";
path = ./.;
};
2020-01-12 15:17:17 -08:00
2020-03-28 22:48:43 -07:00
services.compton = {
activeOpacity = "0.96";
inactiveOpacity = "0.75";
settings = {
blur-background = true;
blur-background-frame = true;
blur-background-fixed = true;
blur-kern = "7x7box";
blur-strength = 340;
};
2020-01-12 15:17:17 -08:00
};
2020-03-28 22:48:43 -07:00
services.xserver.displayManager.lightdm = {
greeters.mini.extraConfig = ''
text-color = "#bbc2cf"
password-background-color = "#29323d"
window-color = "#0b1117"
border-color = "#0b1117"
'';
};
2020-01-12 15:17:17 -08:00
2020-03-28 22:48:43 -07:00
fonts.fonts = [ pkgs.nerdfonts ];
my.packages = with pkgs; [
nordic
paper-icon-theme # for rofi
];
my.zsh.rc = lib.readFile ./zsh/prompt.zsh;
my.home.xdg.configFile = {
"bspwm/rc.d/polybar".source = ./polybar/run.sh;
"bspwm/rc.d/theme".source = ./bspwmrc;
"dunst/dunstrc".source = ./dunstrc;
"polybar" = { source = ./polybar; recursive = true; };
"rofi/theme" = { source = ./rofi; recursive = true; };
"tmux/theme".source = ./tmux.conf;
"xtheme/90-theme".source = ./Xresources;
# GTK
"gtk-3.0/settings.ini".text = ''
[Settings]
gtk-theme-name=Nordic-blue
gtk-icon-theme-name=Paper
gtk-fallback-icon-theme=gnome
gtk-application-prefer-dark-theme=true
gtk-cursor-theme-name=Paper
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=none
'';
# GTK2 global theme (widget and icon theme)
"gtk-2.0/gtkrc".text = ''
gtk-theme-name="Nordic-blue"
gtk-icon-theme-name="Paper-Mono-Dark"
gtk-font-name="Sans 10"
'';
# QT4/5 global theme
"Trolltech.conf".text = ''
[Qt]
style=Nordic-blue
'';
};
2020-01-12 15:17:17 -08:00
};
}