l 1 prism: change sequence of ip addresses
This commit is contained in:
parent
fca1c21a1a
commit
8616bb393f
@ -12,6 +12,22 @@ let
|
|||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
|
{
|
||||||
|
networking.interfaces.et0.ip4 = [
|
||||||
|
{
|
||||||
|
address = ip;
|
||||||
|
prefixLength = 24;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
networking.defaultGateway = "213.239.205.225";
|
||||||
|
networking.nameservers = [
|
||||||
|
"8.8.8.8"
|
||||||
|
];
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
SUBSYSTEM=="net", ATTR{address}=="54:04:a6:7e:f4:06", NAME="et0"
|
||||||
|
'';
|
||||||
|
|
||||||
|
}
|
||||||
../2configs/retiolum.nix
|
../2configs/retiolum.nix
|
||||||
../2configs/exim-smarthost.nix
|
../2configs/exim-smarthost.nix
|
||||||
../2configs/downloading.nix
|
../2configs/downloading.nix
|
||||||
@ -48,22 +64,6 @@ in {
|
|||||||
lock.gid = 10001;
|
lock.gid = 10001;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
|
||||||
networking.interfaces.et0.ip4 = [
|
|
||||||
{
|
|
||||||
address = ip;
|
|
||||||
prefixLength = 24;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
networking.defaultGateway = "213.239.205.225";
|
|
||||||
networking.nameservers = [
|
|
||||||
"8.8.8.8"
|
|
||||||
];
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
SUBSYSTEM=="net", ATTR{address}=="54:04:a6:7e:f4:06", NAME="et0"
|
|
||||||
'';
|
|
||||||
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
boot.loader.grub = {
|
boot.loader.grub = {
|
||||||
devices = [
|
devices = [
|
||||||
|
Loading…
Reference in New Issue
Block a user