2020-12-05 13:48:06 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
2020-08-22 17:44:39 +02:00
|
|
|
|
2020-12-05 15:44:58 +01:00
|
|
|
lib.mkIf config.sbruder.gui.enable {
|
2020-12-05 20:39:41 +01:00
|
|
|
# used to set up system wide configuration, actual configuration happens in
|
|
|
|
# home-manager
|
|
|
|
programs.sway = {
|
|
|
|
enable = true;
|
|
|
|
extraPackages = [ ];
|
|
|
|
};
|
2020-08-22 17:44:39 +02:00
|
|
|
|
2021-01-01 12:33:13 +01:00
|
|
|
# steam (and other high quality software) still ships 32 bit binaries
|
|
|
|
hardware.opengl.driSupport32Bit = lib.mkIf pkgs.stdenv.isx86_64 true;
|
|
|
|
|
2020-08-22 17:44:39 +02:00
|
|
|
services.logind.lidSwitchDocked = config.services.logind.lidSwitch;
|
|
|
|
}
|