Enabled picom through nix config
This commit is contained in:
parent
3f46103e65
commit
8d66e87240
@ -49,9 +49,20 @@
|
||||
};
|
||||
|
||||
# List packages to be installed for headful systems
|
||||
environment.systemPackages = with pkgs; [
|
||||
picom
|
||||
];
|
||||
#environment.systemPackages = with pkgs; [
|
||||
#];
|
||||
|
||||
# Install OpenGL
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
# Install picom for transparency.
|
||||
services.picom = {
|
||||
enable = true;
|
||||
backend = "glx";
|
||||
};
|
||||
|
||||
# Install additional programs
|
||||
programs.thunar.enable = true;
|
||||
|
@ -49,12 +49,6 @@
|
||||
services.xserver.dpi = 96;
|
||||
environment.variables.GDK_SCALE = "0.5";
|
||||
|
||||
# Install OpenGL
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
# Ignore laptop lid closing when connected to power.
|
||||
services.logind.lidSwitchExternalPower = "ignore";
|
||||
|
||||
|
@ -158,5 +158,3 @@ exec "xautolock -detectsleep -time 3 -locker i3lock-fancy"
|
||||
exec_always --no-startup-id "$HOME/.screenlayout/launch.sh &" # setup screen layout and wallpapers
|
||||
exec_always --no-startup-id "$HOME/.scripts/autostart_desktop.sh &" # run autostart desktop apps
|
||||
exec --no-startup-id "polybar &" # status bar
|
||||
exec --no-startup-id "picom &" # startup composition manager (transparency)
|
||||
exec --no-startup-id "emacs --daemon &" # startup emacs daemon
|
||||
|
Loading…
x
Reference in New Issue
Block a user