40 lines
1 KiB
Nix
40 lines
1 KiB
Nix
|
{pkgs, ...}: {
|
|||
|
imports = [./hardware-configuration.nix];
|
|||
|
|
|||
|
boot = {
|
|||
|
loader = {
|
|||
|
grub.enable = true;
|
|||
|
grub.device = "/dev/sda";
|
|||
|
};
|
|||
|
kernelPackages = pkgs.linuxPackages_latest;
|
|||
|
};
|
|||
|
|
|||
|
networking = {
|
|||
|
hostName = "main-node";
|
|||
|
nameservers = [
|
|||
|
"46.38.225.230"
|
|||
|
"46.38.252.230"
|
|||
|
"2a03:4000:0:1::e1e6"
|
|||
|
"2a03:4000:8000::fce6"
|
|||
|
];
|
|||
|
interfaces.ens3 = {
|
|||
|
useDHCP = true;
|
|||
|
ipv4.addresses = [
|
|||
|
{
|
|||
|
address = "188.68.44.196";
|
|||
|
prefixLength = 32;
|
|||
|
}
|
|||
|
];
|
|||
|
};
|
|||
|
};
|
|||
|
time.timeZone = "Europe/Vienna";
|
|||
|
|
|||
|
# This value determines the NixOS release from which the default
|
|||
|
# settings for stateful data, like file locations and database versions
|
|||
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|||
|
# this value at the release version of the first install of this system.
|
|||
|
# Before changing this value read the documentation for this option
|
|||
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|||
|
system.stateVersion = "23.05";
|
|||
|
}
|