forked from emily/nixfiles
Fix network and storage on emilia
This commit is contained in:
parent
28817ddac9
commit
f2a212f1b6
2 changed files with 11 additions and 21 deletions
|
@ -18,13 +18,12 @@
|
||||||
|
|
||||||
networking.hostName = "emilia";
|
networking.hostName = "emilia";
|
||||||
systemd.network.networks."98-eth-default" = {
|
systemd.network.networks."98-eth-default" = {
|
||||||
matchConfig.Type = "ether";
|
matchConfig.MACAddress = "04:d4:c4:39:73:f6";
|
||||||
matchConfig.Name = "enp0s31f6";
|
|
||||||
networkConfig = {
|
|
||||||
IPv6AcceptRA = false;
|
|
||||||
};
|
|
||||||
addresses = [
|
addresses = [
|
||||||
{ Address = "95.217.83.107/26"; }
|
{
|
||||||
|
Address = "95.217.83.107/32";
|
||||||
|
Peer = "95.217.83.65/32";
|
||||||
|
}
|
||||||
{ Address = "2a01:4f9:4a:1f5f::1/64"; }
|
{ Address = "2a01:4f9:4a:1f5f::1/64"; }
|
||||||
];
|
];
|
||||||
routes = [
|
routes = [
|
||||||
|
|
|
@ -13,8 +13,9 @@
|
||||||
type = "EF00";
|
type = "EF00";
|
||||||
size = "512M";
|
size = "512M";
|
||||||
content = {
|
content = {
|
||||||
type = "mdraid";
|
type = "filesystem";
|
||||||
name = "boot";
|
format = "vfat";
|
||||||
|
mountpoint = "/boot";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
root = {
|
root = {
|
||||||
|
@ -55,8 +56,9 @@
|
||||||
type = "EF00";
|
type = "EF00";
|
||||||
size = "512M";
|
size = "512M";
|
||||||
content = {
|
content = {
|
||||||
type = "mdraid";
|
type = "filesystem";
|
||||||
name = "boot";
|
format = "vfat";
|
||||||
|
mountpoint = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
root = {
|
root = {
|
||||||
|
@ -65,16 +67,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
mdadm.boot = {
|
|
||||||
type = "mdadm";
|
|
||||||
level = 1;
|
|
||||||
metadata = "1.0";
|
|
||||||
content = {
|
|
||||||
type = "filesystem";
|
|
||||||
format = "vfat";
|
|
||||||
mountpoint = "/boot";
|
|
||||||
mountOptions = [ "umask=0077" "defaults" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue