summaryrefslogtreecommitdiff
path: root/hm/soft/swayidle.nix
blob: d06c74a505876cf1ae5a73954d1bb68d8558a7d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, lib, ... }:
let
  cfg = config.szpont.hm.soft.swayidle;
in
{
  options.szpont.hm.soft.swayidle.enable = lib.mkEnableOption "enables swayidle";

  config = lib.mkIf cfg.enable {
    services.swayidle = {
      enable = true;
    };
  };
}