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

20 lines
501 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
${pkgs.acpilight}/bin/xbacklight -set 100
exec ${config.home.homeDirectory}/.xsession
'';
}