update file-organization module
This commit is contained in:
@@ -6,24 +6,18 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf mkEnableOption;
|
|
||||||
inherit (lib.${namespace}) mkBoolOpt;
|
|
||||||
|
|
||||||
cfg = config.${namespace}.file-organization;
|
cfg = config.${namespace}.file-organization;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.${namespace}.file-organization = {
|
options.${namespace}.file-organization = {
|
||||||
enable = mkEnableOption "file organization software";
|
enable = lib.mkEnableOption "file organization software";
|
||||||
};
|
};
|
||||||
nixpkgs.config.allowUnfree = true;
|
config = lib.mkIf cfg.enable {
|
||||||
config = mkIf cfg.enable {
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Add file organization packages here
|
|
||||||
# Example: organize-tool
|
|
||||||
ranger
|
ranger
|
||||||
fsearch
|
fsearch
|
||||||
veracrypt
|
|
||||||
qdirstat
|
qdirstat
|
||||||
|
veracrypt
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user