nixos/profiles/sync/default.nix

25 lines
350 B
Nix
Raw Permalink Normal View History

2024-07-28 21:08:02 +02:00
{
config,
lib,
pkgs,
...
}:
2023-02-15 20:51:39 +01:00
let
cfg = config.my.profiles.sync;
in
{
options.my.profiles.sync = with lib; {
enable = mkEnableOption "sync profile";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
croc
magic-wormhole
nextcloud-client
syncthing
vdirsyncer
];
};
}