system/modules/home-manager/programs/file-managers/nnn.nix

14 lines
294 B
Nix
Raw Permalink Normal View History

2024-09-05 18:46:53 +03:00
{ config, pkgs, lib, ... }:
let
cfg = config.local.programs.file-managers.nnn;
in
{
options.local.programs.file-managers.nnn = with lib; {
enable = mkEnableOption "nnn";
package = mkPackageOption pkgs "nnn" {};
};
config.home.packages = lib.optional cfg.enable cfg.package;
}