summaryrefslogtreecommitdiff
path: root/hm/env/fsel.nix
blob: faa7f242122657bc4aeec7e5bf72c38e7c0909cc (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.stdenv.hostPlatform.system}.default ];
  };
}