29 lines
551 B
Nix
29 lines
551 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
namespace,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIf mkEnableOption;
|
|
inherit (lib.${namespace}) mkBoolOpt;
|
|
|
|
cfg = config.${namespace}.file-organization;
|
|
in
|
|
{
|
|
options.${namespace}.file-organization = {
|
|
enable = mkEnableOption "file organization software";
|
|
};
|
|
nixpkgs.config.allowUnfree = true;
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
# Add file organization packages here
|
|
# Example: organize-tool
|
|
ranger
|
|
fsearch
|
|
veracrypt
|
|
qdirstat
|
|
];
|
|
};
|
|
} |