nix-config/home/desktop-xmonad/trantor.nix

28 lines
585 B
Nix

{ config, pkgs, ... }:
let
desktopConfig = import ./desktop_config.nix {
config = config;
pkgs = pkgs;
fontSize = "12";
monoFontSize = "13";
};
in desktopConfig // {
imports = [ ./common.nix ./autorandr/trantor.nix ];
home.file.".xinitrc".text = ''
${pkgs.xorg.xrandr}/bin/xrandr --setprovideroutputsource modesetting NVIDIA-0
${pkgs.xorg.xrandr}/bin/xrandr --auto
exec ${config.home.homeDirectory}/.xsession
'';
services.picom = {
backend = "glx";
vSync = true;
extraOptions = ''
unredir-if-possible=false;
'';
};
}