server: add linode profile init
This commit is contained in:
parent
db7b83037f
commit
3c0188a701
10 changed files with 170 additions and 22 deletions
12
modules/nixos/server/profiles/linode/base/networking.nix
Normal file
12
modules/nixos/server/profiles/linode/base/networking.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib) mkForce;
|
||||
in {
|
||||
networking = {
|
||||
tempAddresses = "disabled";
|
||||
usePredictableInterfaceNames = mkForce false;
|
||||
interfaces.eth0 = {
|
||||
tempAddress = "disabled";
|
||||
useDHCP = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue