kea
This commit is contained in:
parent
948bd1ad45
commit
0bbf499b29
3 changed files with 93 additions and 3 deletions
34
systems/dhcp.eh22.intern/system.nix
Normal file
34
systems/dhcp.eh22.intern/system.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./kea.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
interfaces = {
|
||||
net0 = {
|
||||
ipv4 = {
|
||||
addresses = [
|
||||
{
|
||||
address = "94.45.240.3";
|
||||
prefixLength = 21;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
defaultGateway = "94.45.240.1";
|
||||
};
|
||||
systemd.network.links."10-net0" = {
|
||||
matchConfig.MACAddress = "BC:24:11:BE:24:52";
|
||||
linkConfig.Name = "net0";
|
||||
};
|
||||
# DO NOT CHANGE
|
||||
# this defines the first version of NixOS that was installed on the machine so that programs with non-migratable data files are kept compatible
|
||||
home-manager.users.noc.home.stateVersion = "24.11";
|
||||
system.stateVersion = "24.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue