# # 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; }; }; environment = { systemPackages = with pkgs; [ picom rofi redshift xbindkeys clipmenu ] ++ (with unstable; []); }; }; }