23 lines
367 B
Nix
23 lines
367 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
namespace,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.${namespace}.file-organization;
|
|
in
|
|
{
|
|
options.${namespace}.file-organization = {
|
|
enable = lib.mkEnableOption "file organization software";
|
|
};
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
ranger
|
|
fsearch
|
|
qdirstat
|
|
veracrypt
|
|
];
|
|
};
|
|
} |