mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-01 10:57:55 +00:00
25 lines
418 B
Nix
25 lines
418 B
Nix
|
# modules/shell/git.nix
|
||
|
# 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 {
|
||
|
home.packages = with pkgs; [
|
||
|
lf
|
||
|
];
|
||
|
|
||
|
xdg.configFile."lf" = {
|
||
|
source = ../../config/lf;
|
||
|
recursive = true;
|
||
|
};
|
||
|
};
|
||
|
}
|