Compare commits
3
Commits
56d4fe4a3d
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
781ea4f7b5 | ||
|
|
734f9db4ba | ||
|
|
3cf8aff4d9 |
+2
-3
@@ -103,10 +103,9 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
ports = [ 22 ];
|
ports = [ 22 ];
|
||||||
settings = {
|
settings = {
|
||||||
PasswordAuthentication = true;
|
PasswordAuthentication = false;
|
||||||
KbdInteractiveAuthentication = false;
|
KbdInteractiveAuthentication = false;
|
||||||
# AllowUsers = [ "backup" ];
|
AuthenticationMethods = "publickey";
|
||||||
# UseDns = true;
|
|
||||||
X11Forwarding = false;
|
X11Forwarding = false;
|
||||||
PermitRootLogin = "no";
|
PermitRootLogin = "no";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
./backup-target.nix
|
./backup-target.nix
|
||||||
|
|
||||||
./users/shatteredmint.nix
|
./users/shatteredmint.nix
|
||||||
# ./qemu-bridges.nix
|
./qemu-bridges.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
networking.interfaces.virtbr0 = {
|
networking.interfaces.virtbr0 = {
|
||||||
useDHCP = true;
|
useDHCP = true;
|
||||||
|
macAddress = "04:92:26:c3:06:c2";
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.libvirtd = {
|
virtualisation.libvirtd = {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
wg-quick = {
|
wg-quick = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
interfaces.wg0 = {
|
interfaces.wg0 = {
|
||||||
adress = [ ("192.168.87." + builtins.toString(ip) + "/32")];
|
address = [ ("192.168.87." + builtins.toString(ip) + "/32")];
|
||||||
listenPort = 56878;
|
listenPort = 56878;
|
||||||
privateKeyFile = "/root/wg.keys";
|
privateKeyFile = "/root/wg.keys";
|
||||||
dns = [ "192.168.178.108" ];
|
dns = [ "192.168.178.108" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user