{ pkgs, ... }@all: with all; lib.mkIf (hyper.isPersonal) { # sops.secrets."nx2site/nextcloud/lennart_pass".path = "nx2site/nextcloud/lennart_pass"; # accounts.contact = { # basePath = "~/.local/share/contacts"; # accounts = let # nc = name: { "${name}" = let # un = "lennart"; # in { # inherit name; # remote = { # url = "https://n.${hyper.domain}/remote.php/dav/addressbooks/users/${un}/${name}/"; # type = "carddav"; # username = un; # passwordCommand = "cat /run/user/1000/secrets/nx2site/nextcloud/lennart_pass"; # thunderbird = { # enable = builtins.trace config.programs.thunderbird.enable config.programs.thunderbird.enable; # prifiles = [ hyper.user ]; # }; # }; # local = { # type = "filesystem"; # path = "${name}"; # }; # };}; # in (pkgs.lib.mergeAttrsList (builtins.map nc [ "TUDa" "CWG" "HSMW" "DICOS" "Accounts" "Familie & Freunde" "Friedrich Schiller Grundschule" "Handball" "Phönix" "Util & Miscellaneous" ])); # }; }; }