summaryrefslogtreecommitdiff
path: root/hm/env/otter.nix
blob: 7e7c72e0de6f8a676b01c3a6ba58b891d8b6a92f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  inputs,
  config,
  lib,
  ...
}:
let
  cfg = config.hm.env.otter;
in
{
  imports = [ inputs.otter-launcher.homeModules.otter-launcher ];

  options.hm.env.otter.enable = lib.mkEnableOption "enables otter launcher";
  config = lib.mkIf cfg.enable {
    programs.otter-launcher.enable = true;
  };
}