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 ];
|
|
|
|
|
2022-10-16 15:44:23 +02:00
|
|
|
services.picom = {
|
|
|
|
enable = true;
|
|
|
|
fade = false;
|
|
|
|
shadow = true;
|
|
|
|
backend = "glx";
|
|
|
|
shadowExclude = [ "name ~= 'stalonetray'" ];
|
|
|
|
settings.unredir-if-possible = false;
|
|
|
|
vSync = true;
|
|
|
|
};
|
|
|
|
|
2022-01-25 12:27:52 +01:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
}
|