45 lines
975 B
Nix
45 lines
975 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;
|
|
};
|
|
boot.loader.systemd-boot.enable = lib.mkForce false;
|
|
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
|
|
boot.loader.grub.enable = true;
|
|
boot.loader.grub.device = "/dev/vda";
|
|
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";
|
|
}
|