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
|
2022-03-14 15:20:39 +01:00
|
|
|
${pkgs.acpilight}/bin/xbacklight -set 100
|
2022-01-25 12:27:52 +01:00
|
|
|
exec ${config.home.homeDirectory}/.xsession
|
|
|
|
'';
|
|
|
|
|
|
|
|
services.picom = {
|
|
|
|
vSync = true;
|
2022-07-12 12:39:20 +02:00
|
|
|
settings.unredir-if-possible = false;
|
2022-01-25 12:27:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|