# # 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; # deviceSection = '' # Identifier "Device0" # Driver "nvidia" # VendorName "NVIDIA Corporation" # BoardName "NVIDIA GeForce RTX 2070 SUPER" # ''; # serverLayoutSection = '' # Identifier "Mouse0" # Driver "mouse" # Option "Protocol" "auto" # Option "Device" "/dev/input/mice" # Option "Emulate3Buttons" "no" # Option "ZAxisMapping" "4 5" # ''; # monitorSection = '' # Identifier "Monitor0" # VendorName "Unknown" # ModelName "Acer XF270HU" # HorizSync 222.0 - 222.0 # VertRefresh 40.0 - 144.0 # Option "DPMS" # ''; # screenSection = '' # Identifier "Screen0" # Device "Device0" # Monitor "Monitor0" # DefaultDepth 24 # Option "Stereo" "0" # Option "nvidiaXineramaInfoOrder" "DFP-5" # Option "metamodes" "DP-4: 2560x1440_144 +1920+0, DP-0: 1920x1080_75 +0+0" # Option "SLI" "Off" # Option "MultiGPU" "Off" # Option "BaseMosaic" "off" # SubSection "Display" # Depth 24 # EndSubSection # ''; }; }; 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; []); }; }; }