nixos-config/modules/sway.nix

8 lines
217 B
Nix

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