Merge pull request #213 from DarkKirb/disable-swap-on-nas

disable swap on nas
This commit is contained in:
Charlotte 🦝 Delenk 2023-03-27 21:05:44 +01:00 committed by GitHub
commit df58d985a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,20 +69,22 @@
fsType = "vfat";
};
swapDevices = [
{
device = "/dev/disk/by-partuuid/3b652a7e-a550-4342-a0d7-d2ae47b3e9d1";
randomEncryption = true;
}
{
device = "/dev/disk/by-partuuid/59de36d4-6613-4b50-9643-8824e9a9b1f9";
randomEncryption = true;
}
{
device = "/dev/disk/by-partuuid/f6260d75-2b96-4f55-ba0f-050c58b84b78";
randomEncryption = true;
}
];
/*
swapDevices = [
{
device = "/dev/disk/by-partuuid/3b652a7e-a550-4342-a0d7-d2ae47b3e9d1";
randomEncryption = true;
}
{
device = "/dev/disk/by-partuuid/59de36d4-6613-4b50-9643-8824e9a9b1f9";
randomEncryption = true;
}
{
device = "/dev/disk/by-partuuid/f6260d75-2b96-4f55-ba0f-050c58b84b78";
randomEncryption = true;
}
];
*/
networking.interfaces.br0 = {
ipv4 = {
addresses = [