Enabled picom through nix config

This commit is contained in:
Random936 2024-11-07 21:06:35 -08:00
parent 3f46103e65
commit 8d66e87240
3 changed files with 14 additions and 11 deletions

View File

@ -49,9 +49,20 @@
}; };
# List packages to be installed for headful systems # List packages to be installed for headful systems
environment.systemPackages = with pkgs; [ #environment.systemPackages = with pkgs; [
picom #];
];
# Install OpenGL
hardware.graphics = {
enable = true;
enable32Bit = true;
};
# Install picom for transparency.
services.picom = {
enable = true;
backend = "glx";
};
# Install additional programs # Install additional programs
programs.thunar.enable = true; programs.thunar.enable = true;

View File

@ -49,12 +49,6 @@
services.xserver.dpi = 96; services.xserver.dpi = 96;
environment.variables.GDK_SCALE = "0.5"; environment.variables.GDK_SCALE = "0.5";
# Install OpenGL
hardware.graphics = {
enable = true;
enable32Bit = true;
};
# Ignore laptop lid closing when connected to power. # Ignore laptop lid closing when connected to power.
services.logind.lidSwitchExternalPower = "ignore"; services.logind.lidSwitchExternalPower = "ignore";

View File

@ -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/.screenlayout/launch.sh &" # setup screen layout and wallpapers
exec_always --no-startup-id "$HOME/.scripts/autostart_desktop.sh &" # run autostart desktop apps 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 "polybar &" # status bar
exec --no-startup-id "picom &" # startup composition manager (transparency)
exec --no-startup-id "emacs --daemon &" # startup emacs daemon