fix: add static ip addresses to droppie
This commit is contained in:
parent
b555b306b9
commit
fda3130e30
|
@ -26,7 +26,7 @@ in {
|
|||
systemd.timers."shutdown-after-backup" = {
|
||||
enable = true;
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-* 02..09:05,20,35,50:00 Etc/UTC";
|
||||
OnCalendar = "*-*-* 02..09:05,15,25,35,45,55:00 Etc/UTC";
|
||||
};
|
||||
wantedBy = ["timers.target"];
|
||||
partOf = ["shutdown-after-backup.service"];
|
||||
|
|
|
@ -19,8 +19,6 @@ in {
|
|||
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
|
||||
networking.hostName = "droppie";
|
||||
|
||||
services.openssh.openFirewall = true;
|
||||
|
||||
pub-solar.core.disk-encryption-active = false;
|
||||
|
|
|
@ -4,8 +4,11 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
networking.hostName = "droppie";
|
||||
|
||||
networking.interfaces.enp2s0f0 = {
|
||||
ipv6.addresses = [ { address = "2a02:908:5b1:e3c0:3::"; prefixLength = 64; } ];
|
||||
ipv4.addresses = [ { address = "192.168.178.3"; prefixLength = 32; } ];
|
||||
ipv6.addresses = [ { address = "2a02:908:5b1:e3c0:3::"; prefixLength = 128; } ];
|
||||
};
|
||||
|
||||
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-droppie.age";
|
||||
|
|
Loading…
Reference in a new issue