nixos-config/modules/shell/lf.nix

25 lines
418 B
Nix
Raw Normal View History

2020-08-06 15:35:49 +00:00
# modules/shell/git.nix
# A file manager for hipsters.
{ config, options, lib, pkgs, ... }:
with lib;
{
options.modules.shell.lf = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf config.modules.shell.lf.enable {
home.packages = with pkgs; [
lf
];
xdg.configFile."lf" = {
source = ../../config/lf;
recursive = true;
};
};
}