nixos-config/modules/shell/lf.nix
Gabriel Arazas 4085fce69c Make the setup hardware-independent
One of the bigger changes is to make the setup hardware-independent
which is nice for easier (re-)installations.
Finally about time it happens.

Another big thing is the update of the README, now with some
self-reminding pitch why choose NixOS (or something similar like GuixSD)
which could be nice for other people too, provided they've come across
my NixOS config.

I made the module docstrings a bit more consistent (though still
useless, to be honest).
I've also updated config for Visual Studio Code.
2020-09-01 23:10:44 +08:00

24 lines
400 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;
};
};
}