mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-01 22:57:54 +00:00
4085fce69c
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.
24 lines
400 B
Nix
Executable File
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;
|
|
};
|
|
};
|
|
}
|