2020-08-06 15:35:49 +00:00
|
|
|
# A file manager for hipsters.
|
|
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
|
2020-11-05 06:39:02 +00:00
|
|
|
with lib;
|
|
|
|
|
2020-12-29 14:32:59 +00:00
|
|
|
let cfg = config.modules.shell.lf;
|
2020-11-05 06:39:02 +00:00
|
|
|
in {
|
2020-08-06 15:35:49 +00:00
|
|
|
options.modules.shell.lf = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-11-05 06:39:02 +00:00
|
|
|
config = mkIf cfg.enable {
|
2020-10-25 15:49:14 +00:00
|
|
|
my.packages = with pkgs; [ lf ];
|
2020-08-06 15:35:49 +00:00
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|