Removed module declaration

This commit is contained in:
Illia Chub 2021-07-07 20:24:47 +03:00
parent ccea111f26
commit b660f8a9c0

View file

@ -48,7 +48,7 @@ makeConf() {
./vpn/ocserv.nix ./vpn/ocserv.nix
./api/api.nix ./api/api.nix
./api/api-module.nix ./api/api-module.nix
./social/pleroma-module.nix #./social/pleroma-module.nix
./social/pleroma.nix ./social/pleroma.nix
./letsencrypt/acme.nix ./letsencrypt/acme.nix
./letsencrypt/resolve.nix ./letsencrypt/resolve.nix
@ -203,6 +203,13 @@ EOF
enablePAM = lib.mkForce true; enablePAM = lib.mkForce true;
showPAMFailure = lib.mkForce true; showPAMFailure = lib.mkForce true;
}; };
users.users = {
virtualMail = {
isNormalUser = false;
};
};
mailserver = { mailserver = {
enable = true; enable = true;
fqdn = "$DOMAIN"; fqdn = "$DOMAIN";
@ -314,6 +321,7 @@ EOF
}; };
users.users.restic = { users.users.restic = {
isNormalUser = false; isNormalUser = false;
isSystemUser = true;
}; };
environment.etc."restic/resticPasswd".text = '' environment.etc."restic/resticPasswd".text = ''
$PASSWORD $PASSWORD
@ -733,6 +741,7 @@ cat > /etc/nixos/vpn/ocserv.nix << EOF
}; };
users.users.ocserv = { users.users.ocserv = {
isNormalUser = false; isNormalUser = false;
isSystemUser = true;
extraGroups = [ "ocserv" "acmerecievers" ]; extraGroups = [ "ocserv" "acmerecievers" ];
}; };
services.ocserv = { services.ocserv = {