1
0
vcp-bula-nixfiles/hosts/nerd/configuration.nix

36 lines
1.1 KiB
Nix
Raw Normal View History

2022-07-10 18:49:41 +02:00
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
2022-07-12 11:04:14 +02:00
./nerd.nix
2022-07-10 18:49:41 +02:00
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "nerd";
networking.useNetworkd = true;
systemd.network = {
networks."10-ens18" = {
matchConfig = {
Name = "ens18";
};
2022-07-12 11:04:14 +02:00
address = [ "10.42.10.24/24" "fd00:10:42:10::24/64" "2a01:4f8:1c0c:8221::24/64" ];
gateway = [ "10.42.10.1" ];
2022-07-10 18:49:41 +02:00
};
};
# 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. Its 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 = "22.05"; # Did you read the comment?
}