};
config = lib.mkIf config.myServices.pub.enable {
+ myServices.ssh.modules = [{
+ snippet = builtins.readFile ./ldap_pub.sh;
+ dependencies = [ pkgs.coreutils ];
+ }];
+ services.duplyBackup.profiles.pub = {
+ rootDir = "/var/lib/pub";
+ };
users.users.pub = let
restrict = pkgs.runCommand "restrict" {
file = ./restrict;