109 lines
2.6 KiB
Nix
109 lines
2.6 KiB
Nix
{pkgs, ...}:
|
|
|
|
{
|
|
#imports = [ ./xdg.nix ];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
rofi
|
|
lightdm
|
|
dunst
|
|
libnotify
|
|
(polybar.override {
|
|
pulseSupport = true;
|
|
nlSupport = true;
|
|
})
|
|
];
|
|
|
|
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";
|
|
};
|
|
};
|
|
|
|
home-manager.users.anish = {
|
|
# Add gtk theme for Dracular and Paper
|
|
# Set wallpaper
|
|
|
|
# Install themes
|
|
home.packages = with pkgs; [
|
|
dracula-theme
|
|
paper-icon-theme
|
|
];
|
|
|
|
# Font stuff
|
|
#fonts = {
|
|
# fonts = with pkgs; [
|
|
# fire-code
|
|
# hermit
|
|
# hack
|
|
# fire-code-symbols
|
|
# siji
|
|
# font-awesome-ttf
|
|
# ];
|
|
# fontconfig.defaultFonts = {
|
|
# sansSerif = ["Hermit"];
|
|
# monospace = ["Hermit"];
|
|
# };
|
|
#};
|
|
|
|
# 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;
|
|
};
|
|
|
|
|
|
# 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;
|
|
'';
|
|
};
|
|
|
|
programs.autorandr.enable = true;
|
|
services.udiskie.automount = true;
|
|
};
|
|
}
|