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

45 lines
821 B
Nix
Raw Normal View History

2024-06-13 23:39:22 +01:00
{ pkgs, ... }:
{
imports = [
2024-06-14 00:39:02 +01:00
./feh-wallpaper-changer.nix
2024-06-13 23:39:22 +01:00
];
home.packages = [
pkgs.dunst
pkgs.flameshot
2024-06-14 12:18:25 +01:00
pkgs.st
pkgs.dmenu
2024-06-14 17:31:17 +01:00
pkgs.picom
pkgs.xclip
2024-06-13 23:39:22 +01:00
];
2024-06-14 17:31:17 +01:00
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;
'';
};
2024-06-13 23:39:22 +01:00
}