nixos-config/modules/sway.nix

8 lines
210 B
Nix

{ config, lib, pkgs, ... }:
lib.mkIf config.sbruder.gui {
programs.sway.enable = true; # actual configuration happens in home-manager
services.logind.lidSwitchDocked = config.services.logind.lidSwitch;
}