We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 122210c commit 04e19e9Copy full SHA for 04e19e9
nix/rigtora.nix
@@ -28,7 +28,7 @@ in {
28
};
29
openSsh = mkOption {
30
type = types.bool;
31
- default = false;
+ default = true;
32
33
34
@@ -53,7 +53,20 @@ in {
53
'';
54
55
services.fail2ban.enable = true;
56
- services.openssh.enable = config.services.rigtora.openSsh;
+ services.openssh = {
57
+ enable = config.services.rigtora.openSsh;
58
+ settings.PasswordAuthentication = false;
59
+ settings.KbdInteractiveAuthentication = false;
60
+ settings.PermitRootLogin = "no";
61
+ };
62
+ #
63
+ # Automount
64
65
+ services.gvfs.enable = true;
66
+ services.udisks2.enable = true;
67
68
+ # XMR
69
70
services.xmrig.enable = true;
71
services.xmrig.settings = {
72
cpu.enabled = true;
0 commit comments