mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-01 10:57:55 +00:00
21 lines
390 B
Nix
Executable File
21 lines
390 B
Nix
Executable File
# 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;
|
|
};
|
|
};
|
|
}
|