2020-08-06 15:35:49 +00:00
|
|
|
# A set of tools related to files: managing metadata, backing them up, filesystems, and whatnot.
|
|
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.modules.desktop.files;
|
|
|
|
in {
|
|
|
|
options.modules.desktop.files = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2020-08-16 08:33:44 +00:00
|
|
|
my.packages = with pkgs; [
|
2020-08-06 15:35:49 +00:00
|
|
|
exiftool # A file metadata reader/writer/manager/helicopter.
|
2020-08-16 08:33:44 +00:00
|
|
|
(recoll.override {
|
|
|
|
withGui = false;
|
|
|
|
}) # Bring the search engine to the desktop!
|
2020-08-24 15:56:31 +00:00
|
|
|
unison
|
2020-08-16 08:33:44 +00:00
|
|
|
magic-wormhole # Magically transfer stuff between your wormholes!
|
|
|
|
transmission # One of the components for sailing the high seas.
|
2020-08-06 15:35:49 +00:00
|
|
|
syncthing # A peer-to-peer synchro summoning.
|
|
|
|
xfce.thunar # A graphical file manager.
|
|
|
|
xfce.thunar-volman # A Thunar plugin on volume management for external devices.
|
|
|
|
udiskie # An automounter for external devices with authentication.
|
|
|
|
];
|
2020-08-16 08:33:44 +00:00
|
|
|
|
2020-09-05 20:50:16 +00:00
|
|
|
# Enable peer-to-peer synchro summoning service.
|
|
|
|
my.home.services = {
|
|
|
|
syncthing.enable = true;
|
|
|
|
};
|
|
|
|
|
2020-08-16 08:33:44 +00:00
|
|
|
# Clean 'yer home!
|
|
|
|
my.env = {
|
|
|
|
RECOLL_CONFDIR = "$XDG_DATA_HOME/recoll";
|
|
|
|
UNISON = "$XDG_DATA_HOME/unison";
|
|
|
|
};
|
2020-08-06 15:35:49 +00:00
|
|
|
};
|
|
|
|
}
|