nixos-config/modules/sway.nix

13 lines
303 B
Nix

{ config, lib, pkgs, ... }:
lib.mkIf config.sbruder.gui.enable {
# used to set up system wide configuration, actual configuration happens in
# home-manager
programs.sway = {
enable = true;
extraPackages = [ ];
};
services.logind.lidSwitchDocked = config.services.logind.lidSwitch;
}