dotfiles/modules/desktop/default.nix
2022-03-23 12:42:04 +01:00

31 lines
690 B
Nix

{ config, lib, pkgs, ... }:
let cfg = config.modules.desktop;
in {
imports = [ ./apps ./bspwm ./gtk.nix ];
options.modules.desktop = {
name = lib.mkOption {
default = "bspwm";
type = lib.types.enum [ "bspwm" ];
};
};
config = {
home-manager.users.moritz = {
services.unclutter.enable = true;
xdg = {
enable = true;
configFile = {
"wallpapers/" = {
source = ./wallpapers;
recursive = true;
};
};
};
};
# Remap capslock to esc and shift + capslock to capslock
services.xserver.xkbOptions =
"terminate:ctrl_alt_bksp,caps:escape_shifted_capslock";
};
}