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

30 lines
714 B
Nix
Raw Permalink Normal View History

2022-01-25 12:27:52 +01:00
{ config, pkgs, ... }:
let
desktopConfig = import ./desktop_config.nix {
config = config;
pkgs = pkgs;
fontSize = "11";
2022-01-25 12:27:52 +01:00
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
${pkgs.acpilight}/bin/xbacklight -set 100
2022-01-25 12:27:52 +01:00
exec ${config.home.homeDirectory}/.xsession
'';
}