2020-12-05 13:48:06 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
2020-08-22 17:44:39 +02:00
|
|
|
|
2020-12-05 13:48:06 +01:00
|
|
|
lib.mkIf config.sbruder.gui {
|
2020-11-07 15:04:49 +01:00
|
|
|
programs.sway.enable = true; # actual configuration happens in home-manager
|
2020-08-22 17:44:39 +02:00
|
|
|
|
|
|
|
services.logind.lidSwitchDocked = config.services.logind.lidSwitch;
|
|
|
|
}
|