profile/sync: init from legacy

This commit is contained in:
Felix Buehler 2023-02-15 20:51:39 +01:00
parent 09ffed6661
commit 3c3fc6f527
5 changed files with 21 additions and 11 deletions

19
profiles/sync/default.nix Normal file
View file

@ -0,0 +1,19 @@
{ config, lib, pkgs, ... }:
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
];
};
}