nixos-config/modules/shell/lf.nix

21 lines
390 B
Nix
Raw Normal View History

2020-08-06 15:35:49 +00:00
# A file manager for hipsters.
{ config, options, lib, pkgs, ... }:
2020-10-25 15:49:14 +00:00
with lib; {
2020-08-06 15:35:49 +00:00
options.modules.shell.lf = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf config.modules.shell.lf.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;
};
};
}