Compare commits

..
3 Commits
Author SHA1 Message Date
ShatteredMINT 781ea4f7b5 disable all but public key auth for ssh 2026-07-07 20:55:02 +02:00
ShatteredMINT 734f9db4ba working qemu bridges 2026-07-07 20:47:08 +02:00
ShatteredMINT 3cf8aff4d9 fix typo wg-client 2026-06-15 10:37:00 +02:00
4 changed files with 5 additions and 5 deletions
+2 -3
View File
@@ -103,10 +103,9 @@
enable = true;
ports = [ 22 ];
settings = {
PasswordAuthentication = true;
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
# AllowUsers = [ "backup" ];
# UseDns = true;
AuthenticationMethods = "publickey";
X11Forwarding = false;
PermitRootLogin = "no";
};
+1 -1
View File
@@ -36,7 +36,7 @@
./backup-target.nix
./users/shatteredmint.nix
# ./qemu-bridges.nix
./qemu-bridges.nix
];
};
+1
View File
@@ -8,6 +8,7 @@
networking.interfaces.virtbr0 = {
useDHCP = true;
macAddress = "04:92:26:c3:06:c2";
};
virtualisation.libvirtd = {
+1 -1
View File
@@ -8,7 +8,7 @@
wg-quick = {
# enable = true;
interfaces.wg0 = {
adress = [ ("192.168.87." + builtins.toString(ip) + "/32")];
address = [ ("192.168.87." + builtins.toString(ip) + "/32")];
listenPort = 56878;
privateKeyFile = "/root/wg.keys";
dns = [ "192.168.178.108" ];