mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-08 06:19:01 +00:00
25 lines
411 B
Nix
Executable File
25 lines
411 B
Nix
Executable File
# A file manager for hipsters.
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.modules.shell.lf;
|
|
in {
|
|
options.modules.shell.lf = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
my.packages = with pkgs; [ lf ];
|
|
|
|
my.home.xdg.configFile."lf" = {
|
|
source = ../../config/lf;
|
|
recursive = true;
|
|
};
|
|
};
|
|
}
|