summaryrefslogtreecommitdiff
path: root/hm/env/fsel.nix
blob: d942363b063c9bc3fc907d0723c020d3d9219ddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  inputs,
  config,
  lib,
  pkgs,
  ...
}:
let
  cfg = config.hm.env.fsel;
in
{
  options.hm.env.fsel.enable = lib.mkEnableOption "enables fsel";
  config = lib.mkIf cfg.enable {
    home.packages = [ inputs.fsel.packages.${pkgs.system}.default ];
  };
}