nixos-config/modules/shell/lf.nix
2020-08-16 16:33:44 +08:00

25 lines
424 B
Nix
Executable File

# 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 {
my.packages = with pkgs; [
lf
];
my.home.xdg.configFile."lf" = {
source = ../../config/lf;
recursive = true;
};
};
}