nixos-config/modules/sway.nix

8 lines
177 B
Nix

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