# # AwesomeWM Configuration # Enable with "awesome.enable = true;" # { config, lib, pkgs, vars, ... }: with lib; { options = { awesome = { enable = mkOption { type = types.bool; default = false; }; }; }; config = mkIf (config.awesome.enable) { services = { xserver = { enable = true; layout = "de"; libinput.enable = true; modules = [pkgs.xf86_input_wacom]; wacom.enable = true; windowManager.awesome.enable = true; screenSection = '' Option "metamodes" "DP-4: 2560x1440_144 +1920+0, DP-0: 1920x1080_75 +0+0" ''; }; }; home-manager.users.${vars.user} = { home.file.".config/awesome/" = { source = ../../rsc/config/awesome; recursive = true; }; home.file.".config/picom/" = { source = ../../rsc/config/picom; recursive = true; }; home.file.".config/rofi" = { source = ../../rsc/config/rofi; recursive = true; }; home.file.".config/flameshot" = { source = ../../rsc/config/flameshot; recursive = true; }; home.file.".config/zathura" = { source = ../../rsc/config/zathura; recursive = true; }; }; environment = { systemPackages = with pkgs; [ picom rofi redshift xbindkeys clipmenu flameshot ] ++ (with unstable; []); }; }; }