Fix astral

This commit is contained in:
mups 2024-07-14 01:23:57 +00:00
parent 33895b9c46
commit dcfd4b7f3a
4 changed files with 25 additions and 9 deletions

View file

@ -20,7 +20,11 @@ in {
mods.theme.scheme = "woodland";
mods.theme.wallpaper = ./wallpaper.png;
# mods.server.astral.enable = true;
mods.tailscale.enable = true;
mods.unfree.minecraft.enable = true;
mods.server.astral.enable = true;
mods.server.astral.memory = "2G";
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;

View file

@ -20,9 +20,12 @@ in {
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/bc6acd1f-98bb-4f94-b52c-40aa7312e838"; }
];
swapDevices = [{
device = "/dev/disk/by-uuid/bc6acd1f-98bb-4f94-b52c-40aa7312e838";
} {
device = "/var/lib/swapfile";
size = 2*1024;
}];
networking.useDHCP = lib.mkForce false;
networking.domain = "";