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
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;

View File

@@ -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";