mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-02-11 20:50:03 +01:00
25 lines
416 B
Nix
25 lines
416 B
Nix
{
|
|
fp,
|
|
lib,
|
|
values,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
(fp /base)
|
|
];
|
|
|
|
systemd.network.networks."enp2s0" = values.defaultNetworkConfig // {
|
|
matchConfig.Name = "enp2s0";
|
|
address = with values.hosts.skrot; [
|
|
(ipv4 + "/25")
|
|
(ipv6 + "/64")
|
|
];
|
|
};
|
|
|
|
system.stateVersion = "26.05"; # Did you read the comment?
|
|
}
|