{ config, pkgs, lib, ... }: { documentation.info.enable = true; environment.systemPackages = with pkgs; [ qpdfview lxappearance lxrandr lxtask trash-cli ]; services.devmon.enable = true; systemd.user.services.trash-clean = { path = with pkgs; [ trash-cli ]; description = "Remove old files from FreeDesktop.org trash"; serviceConfig = { Type = "oneshot"; }; script = "trash-empty 30"; }; systemd.user.timers.trash-clean = { wantedBy = [ "default.target" ]; timerConfig = { OnCalendar = "weekly"; Persistent = true; }; }; environment.variables = { # This is required so that GTK applications launched from Emacs # get properly themed: GTK_DATA_PREFIX = "${config.system.path}"; }; imports = [ ./fonts.nix ./services/xserver.nix ]; }