mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
chore: switch lambda to systemd-networkd
This commit is contained in:
parent
1149e763b7
commit
2d34f05d3f
1 changed files with 8 additions and 0 deletions
|
@ -9,6 +9,14 @@
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.useNetworkd = true;
|
||||
systemd.network.networks."10-wan" = {
|
||||
matchConfig.Name = "enp0s3";
|
||||
DHCP = "ipv4";
|
||||
addresses = [ { addressConfig.Address = "2603:c027:c001:89aa:aad9:34b3:f3c9:924f"; } ];
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
};
|
||||
|
||||
deployment.buildOnTarget = true;
|
||||
deployment.tags = [ "server" ];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue