dotfiles/modules/desktop/bspwm/default.nix

55 lines
996 B
Nix
Raw Normal View History

2021-09-09 21:55:28 +02:00
{ config, lib, pkgs, ... }:
2021-09-14 18:43:49 +02:00
{
services = {
xserver = {
enable = true;
layout = "de";
2021-09-29 16:27:02 +02:00
videoDrivers = [ "nvidia" ];
2021-09-14 18:43:49 +02:00
displayManager = {
defaultSession = "none+bspwm";
autoLogin = {
enable = true;
user = "moritz";
};
lightdm = {
enable = true;
};
};
windowManager.bspwm.enable = true;
};
};
2021-09-29 16:27:02 +02:00
console.keyMap = "de";
2021-09-14 18:43:49 +02:00
home-manager.users.moritz = {
2021-09-10 08:59:21 +02:00
xsession.windowManager.bspwm.enable = true;
2021-09-10 09:14:03 +02:00
2021-09-09 21:55:28 +02:00
xdg = {
enable = true;
configFile = {
"bspwm/bspwmrc" = {
source = ./bspwmrc;
onChange = "bspc wm -r";
};
2021-09-12 15:11:59 +02:00
"sxhkd/sxhkdrc" = {
2021-09-15 00:41:46 +02:00
source = ./sxhkdrc;
onChange = "pkill -USR1 -x sxhkd";
};
2021-09-12 15:11:59 +02:00
"wallpaper/dracula.png" = {
source = ./dracula.png;
2021-09-09 21:55:28 +02:00
};
};
};
home.packages = with pkgs; [
feh
2021-09-10 09:57:47 +02:00
playerctl
pamixer
2021-09-14 18:43:49 +02:00
brightnessctl
2021-09-09 21:55:28 +02:00
];
};
}