41 lines
786 B
Nix
41 lines
786 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
./hardware-configuration.nix
|
|
../modules/nasp.nix
|
|
];
|
|
nasp = {
|
|
enable = true;
|
|
gSeries = {
|
|
enable = true;
|
|
serial = 18;
|
|
};
|
|
registry.enable = false;
|
|
nginx.enableCodeServer = false;
|
|
nvidia.enable = false;
|
|
};
|
|
networking.hostName = lib.mkForce "g18-next";
|
|
networking.hostId = "11f1fad0";
|
|
systemd.network.networks."10-veth0" = {
|
|
matchConfig.Name = "enp1s0";
|
|
networkConfig = {
|
|
DHCP = "yes";
|
|
IPv6AcceptRA = true;
|
|
};
|
|
address = [ "192.168.122.118/24" ];
|
|
routes = [
|
|
{
|
|
routeConfig = {
|
|
Gateway = "192.168.122.1";
|
|
GatewayOnLink = true;
|
|
Metric = 90;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|