{ self, pkgs, lib, machine, ... }: with lib; mkIf (!machine.isDarwin) { nixpkgs.overlays = [ (import (self + "/overlays/suckless.nix") { inherit pkgs; home = self; }) ]; services.xserver.enable = true; services.xserver.displayManager.startx.enable = true; services.libinput.enable = true; hm = { xsession = { enable = true; }; services.picom = { enable = true; activeOpacity = 1; inactiveOpacity = 0.7; opacityRules = [ "100:class_g = 'Wfica'" "100:class_g = 'dwm'" "100:class_g = 'Zathura'" "100:name *= 'Firefox'" "100:name *= 'mpv'" "100:name *= 'LibreWolf'" "100:name *= 'Steam'" "100:name *= 'Risk of Rain'" "100:name *= 'KVM'" ]; settings = { inactive-opacity-override = false; frame-opacity = 1; }; }; services.dunst = { enable = true; settings = { global = { monitor = 0; follow = "keyboard"; width = 370; height = 350; offset = "0x19"; padding = 2; horizontal_padding = 2; transparency = 0; font = "Monospace 12"; format = "%s\\n%b"; }; urgency_low = { background = "#1d2021"; foreground = "#928374"; timeout = 3; }; urgency_normal = { foreground = "#ebdbb2"; background = "#458588"; timeout = 5; }; urgency_critical = { background = "#1cc24d"; foreground = "#ebdbb2"; frame_color = "#fabd2f"; timeout = 10; }; }; }; home.packages = with pkgs; [ libnotify pywal inotify-tools dwm dwmblocks sxiv st dmenu tabbed surfraw surf # librewolf ungoogled-chromium xclip xorg.xwininfo xdotool maim asciinema asciinema-agg fontconfig ]; }; fonts = { fontconfig = { enable = true; }; packages = with pkgs; [ nerd-fonts.fira-code nerd-fonts.jetbrains-mono ]; }; }