mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 18:09:06 +02:00
feat: intro vm-simple-network profile
This commit is contained in:
parent
ce1a607c10
commit
b8db804e38
4 changed files with 27 additions and 13 deletions
13
profiles/vm-simple-network.nix
Normal file
13
profiles/vm-simple-network.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
systemd.network.enable = true;
|
||||
systemd.network.networks."10-wan" = {
|
||||
matchConfig.Name = "ens18";
|
||||
networkConfig = {
|
||||
DHCP = "ipv4";
|
||||
Address = config.machine.meta.ips.public.ipv6;
|
||||
};
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue