From 613a9c55409c33031187f13876839b66ca53589d Mon Sep 17 00:00:00 2001 From: Andreas Schaafsma Date: Wed, 4 Feb 2026 00:03:30 +0100 Subject: [PATCH] add file organizaiton module --- modules/nixos/file-organization/default.nix | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 modules/nixos/file-organization/default.nix diff --git a/modules/nixos/file-organization/default.nix b/modules/nixos/file-organization/default.nix new file mode 100644 index 0000000..fb6850a --- /dev/null +++ b/modules/nixos/file-organization/default.nix @@ -0,0 +1,29 @@ +{ + 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 + ]; + }; +} \ No newline at end of file