Fix network and storage on emilia

This commit is contained in:
emily 2024-06-12 20:25:41 +02:00
parent 28817ddac9
commit f2a212f1b6
Signed by: emily
GPG key ID: F6F4C66207FCF995
2 changed files with 11 additions and 21 deletions

View file

@ -18,13 +18,12 @@
networking.hostName = "emilia";
systemd.network.networks."98-eth-default" = {
matchConfig.Type = "ether";
matchConfig.Name = "enp0s31f6";
networkConfig = {
IPv6AcceptRA = false;
};
matchConfig.MACAddress = "04:d4:c4:39:73:f6";
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"; }
];
routes = [

View file

@ -13,8 +13,9 @@
type = "EF00";
size = "512M";
content = {
type = "mdraid";
name = "boot";
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
@ -55,8 +56,9 @@
type = "EF00";
size = "512M";
content = {
type = "mdraid";
name = "boot";
type = "filesystem";
format = "vfat";
mountpoint = null;
};
};
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" ];
};
};
};
}