nixos-config/modules/shell/lf.nix

24 lines
400 B
Nix
Raw Normal View History

2020-08-06 15:35:49 +00:00
# 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 {
2020-08-16 08:33:44 +00:00
my.packages = with pkgs; [
2020-08-06 15:35:49 +00:00
lf
];
2020-08-16 08:33:44 +00:00
my.home.xdg.configFile."lf" = {
2020-08-06 15:35:49 +00:00
source = ../../config/lf;
recursive = true;
};
};
}