add stara to wg
This commit is contained in:
parent
c36b061ce9
commit
07512362f8
@ -77,6 +77,10 @@
|
|||||||
publicKey = "RqTsFxFCcgYsytcDr+jfEoOA5UNxa1ZzGlpx6iuTpXY=";
|
publicKey = "RqTsFxFCcgYsytcDr+jfEoOA5UNxa1ZzGlpx6iuTpXY=";
|
||||||
allowedIPs = [ "10.0.0.3/32" ];
|
allowedIPs = [ "10.0.0.3/32" ];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
publicKey = "1e0mjluqXdLbzv681HlC9B8BfGN8sIXIw3huLyQqwXI=";
|
||||||
|
allowedIPs = [ "10.0.0.4/32" ];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -99,6 +103,12 @@
|
|||||||
|
|
||||||
services = {
|
services = {
|
||||||
dovecot2.sieve.extensions = [ "fileinto" ];
|
dovecot2.sieve.extensions = [ "fileinto" ];
|
||||||
|
openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
PermitRootLogin = "prohibit-password";
|
||||||
|
};
|
||||||
|
};
|
||||||
roundcube = {
|
roundcube = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.roundcube.withPlugins (plugins: [ plugins.persistent_login ]);
|
package = pkgs.roundcube.withPlugins (plugins: [ plugins.persistent_login ]);
|
||||||
|
Loading…
Reference in New Issue
Block a user