Constantin Gierczak--Galle
225ced72c2
Reviewed-on: #5 Co-authored-by: Constantin Gierczak--Galle <git.cst1@mailbox.org> Co-committed-by: Constantin Gierczak--Galle <git.cst1@mailbox.org>
39 lines
859 B
Nix
39 lines
859 B
Nix
{ lib, ... }:
|
|
|
|
lib.extra.mkConfig {
|
|
enabledModules = [
|
|
# List of modules to enable
|
|
];
|
|
|
|
enabledServices = [
|
|
# List of services to enable
|
|
"nsd"
|
|
];
|
|
|
|
extraConfig = {
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDMBW7rTtfZL9wtrpCVgariKdpN60/VeAzXkh9w3MwbO julien@enigma"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKrijwPlb7KQkYPLznMPVzPPT69cLzhEsJzZi9tmxzTh cst1@x270"
|
|
];
|
|
systemd.network = {
|
|
config.routeTables = {
|
|
he = 100;
|
|
mwan = 110;
|
|
};
|
|
networks = {
|
|
"10-ens18" = {
|
|
name = "ens18";
|
|
|
|
networkConfig = {
|
|
Description = "ENS uplink";
|
|
Address = [ "129.199.146.102/24" ];
|
|
Gateway = "129.199.146.254";
|
|
LLDP = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
root = ./.;
|
|
}
|