nixos/home/common/optional/desktop/x11/default.nix

45 lines
821 B
Nix

{ pkgs, ... }:
{
imports = [
./feh-wallpaper-changer.nix
];
home.packages = [
pkgs.dunst
pkgs.flameshot
pkgs.st
pkgs.dmenu
pkgs.picom
pkgs.xclip
];
home.file.".Xresources" = {
recursive = true;
text = ''
!st terminal
st.alpha: 0.8
*.font: monospace:pixelsize=21:antialias=true:autohint=true;
*.font2: NotoColorEmoji:pixelsize=19:antialias=true:autohint=true;
! dwm
dwm.borderpx: 3
'';
};
home.file.".config/picom/picom.conf" = {
recursive = true;
text = ''
vsync = true;
backend = "xrender";
shadow = true;
shadow-radius = 10;
shadow-offset-x = -5;
shadow-offset-y = -5;
fading = true;
fade-in-step = 0.2;
fade-out-step = 0.2;
fade-delta = 50;
'';
};
}