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

29 lines
631 B
Nix
Raw Normal View History

2022-01-25 12:27:52 +01:00
{ 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
${pkgs.acpilight}/bin/xbacklight -set 100
2022-01-25 12:27:52 +01:00
exec ${config.home.homeDirectory}/.xsession
'';
services.picom = {
backend = "glx";
vSync = true;
extraOptions = ''
unredir-if-possible=false;
'';
};
}