skrot: init

This commit is contained in:
Vegard Bieker Matthey
2026-02-08 00:05:45 +01:00
parent 35907be4f2
commit f88b81672a
4 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
{
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?
}