# # 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"; # dpi = 180; libinput.enable = true; modules = [pkgs.xf86_input_wacom]; wacom.enable = true; windowManager.awesome.enable = true; }; }; home-manager.users.${vars.user} = { home.file.".wallpapers" = { source = ../../rsc/wallpaper; recursive = true; }; 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; []); }; # Flatpak xdg.portal.enable = true; xdg.portal.extraPortals = with pkgs; [xdg-desktop-portal-kde]; # Networking networking.networkmanager.enable = true; }; }