2021-10-10 06:59:41 -07:00
|
|
|
{pkgs, ...}:
|
|
|
|
|
2021-10-04 08:22:19 -07:00
|
|
|
{
|
2021-10-12 05:35:18 -07:00
|
|
|
#imports = [ ./xdg.nix ];
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2021-10-12 05:35:18 -07:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
rofi
|
|
|
|
lightdm
|
|
|
|
dunst
|
|
|
|
libnotify
|
|
|
|
(polybar.override {
|
|
|
|
pulseSupport = true;
|
|
|
|
nlSupport = true;
|
|
|
|
})
|
|
|
|
];
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2021-10-12 05:35:18 -07:00
|
|
|
services = {
|
|
|
|
picom.enable = true;
|
|
|
|
#redshift.enable = true;
|
|
|
|
xserver = {
|
|
|
|
enable = true;
|
|
|
|
displayManager = {
|
|
|
|
defaultSession = "none+bspwm";
|
|
|
|
lightdm.enable = true;
|
|
|
|
lightdm.greeters.mini.enable = true;
|
|
|
|
lightdm.greeters.mini.user = "anish"; # TODO hardcoded
|
|
|
|
lightdm.greeters.mini.extraConfig = ''
|
|
|
|
text-color = "#ff79c6"
|
|
|
|
password-background-color = "#1E2029"
|
|
|
|
window-color = "#181a23"
|
|
|
|
border-color = "#181a23"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
windowManager.bspwm.enable = true;
|
|
|
|
#windowManager.bspwm.configFile = "/home/anish/.bspwm/bspwmrc";
|
|
|
|
windowManager.bspwm.sxhkd.configFile = "/home/anish/.config/sxhkdrc";
|
|
|
|
};
|
2021-10-10 06:59:41 -07:00
|
|
|
};
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2021-10-12 05:35:18 -07:00
|
|
|
home-manager.users.anish = {
|
|
|
|
# Add gtk theme for Dracular and Paper
|
|
|
|
# Set wallpaper
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2021-10-12 05:35:18 -07:00
|
|
|
# Install themes
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
dracula-theme
|
|
|
|
paper-icon-theme
|
|
|
|
];
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2021-10-12 05:35:18 -07:00
|
|
|
# Font stuff
|
|
|
|
#fonts = {
|
|
|
|
# fonts = with pkgs; [
|
|
|
|
# fire-code
|
|
|
|
# hermit
|
|
|
|
# hack
|
|
|
|
# fire-code-symbols
|
|
|
|
# siji
|
|
|
|
# font-awesome-ttf
|
|
|
|
# ];
|
|
|
|
# fontconfig.defaultFonts = {
|
|
|
|
# sansSerif = ["Hermit"];
|
|
|
|
# monospace = ["Hermit"];
|
|
|
|
# };
|
|
|
|
#};
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2021-10-12 05:35:18 -07:00
|
|
|
# Move required config files around
|
|
|
|
home.file = {
|
|
|
|
".config/bspwm/rc.d/polybar".source = ./run.sh;
|
|
|
|
".config/bspwm/bspwmrc".source = ./bspwmrc;
|
|
|
|
".config/sxhkdrc".source = ./sxhkdrc;
|
|
|
|
".config/rofi/theme" = {
|
|
|
|
source = ./rofi;
|
|
|
|
recursive = true;
|
|
|
|
};
|
|
|
|
".config/polybar" = {
|
|
|
|
source = ./polybar;
|
|
|
|
recursive = true;
|
|
|
|
};
|
|
|
|
".config/dunst/dunstrc".source = ./dunstrc;
|
|
|
|
".config/kitty/kitty.conf".source = ./kitty.conf;
|
|
|
|
".config/kitty/ayu.conf".source = ./ayu-kitty.conf;
|
2021-10-04 08:22:19 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2021-10-12 05:35:18 -07:00
|
|
|
# Compositor
|
|
|
|
services.picom = {
|
|
|
|
fade = true;
|
|
|
|
fadeDelta = 1;
|
|
|
|
fadeSteps = [ 0.01 0.012 ];
|
|
|
|
shadow = true;
|
|
|
|
shadowOffsets = [ (-10) (-10) ];
|
|
|
|
shadowOpacity = 0.22;
|
|
|
|
# activeOpacity = "1.00";
|
|
|
|
# inactiveOpacity = "0.92";
|
|
|
|
extraOptions = ''
|
|
|
|
shadow-radius = 12;
|
|
|
|
# blur-background = true;
|
|
|
|
# blur-background-frame = true;
|
|
|
|
# blur-background-fixed = true;
|
|
|
|
blur-kern = "7x7box";
|
|
|
|
blur-strength = 320;
|
|
|
|
'';
|
|
|
|
};
|
2021-10-04 08:25:59 -07:00
|
|
|
|
2021-10-12 05:35:18 -07:00
|
|
|
programs.autorandr.enable = true;
|
|
|
|
services.udiskie.automount = true;
|
|
|
|
};
|
2021-10-04 08:22:19 -07:00
|
|
|
}
|