mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-01-18 16:56:46 +01:00
29 lines
684 B
Nix
29 lines
684 B
Nix
|
{ config, fp, pkgs, lib, values, ... }:
|
||
|
|
||
|
{
|
||
|
imports = [
|
||
|
(fp /base)
|
||
|
(fp /misc/metrics-exporters.nix)
|
||
|
];
|
||
|
|
||
|
networking.hostName = "ustetind";
|
||
|
|
||
|
networking.useHostResolvConf = lib.mkForce false;
|
||
|
# systemd.network.enable = lib.mkForce false;
|
||
|
# networking.useDHCP = lib.mkForce true;
|
||
|
# networking.address = with values.hosts.georg; [ (ipv4 + "/25") (ipv6 + "/64") ];
|
||
|
|
||
|
systemd.network.networks."30-lxc-veth" = values.defaultNetworkConfig // {
|
||
|
matchConfig = {
|
||
|
Type = "ether";
|
||
|
Kind = "veth";
|
||
|
Name = [
|
||
|
"eth*"
|
||
|
];
|
||
|
};
|
||
|
address = with values.hosts.ustetind; [ (ipv4 + "/25") (ipv6 + "/64") ];
|
||
|
};
|
||
|
|
||
|
system.stateVersion = "24.11";
|
||
|
}
|