nullbox: mount mcserver as nofail

This commit is contained in:
NullBite 2024-03-23 17:06:58 -04:00
parent 38bed5d6d8
commit 8ef0925c01
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
3 changed files with 13 additions and 0 deletions

View File

@ -12,6 +12,7 @@
./hardware-configuration.nix
# Encryption
./luks.nix
./mcserver.nix
];
config = {

View File

@ -41,6 +41,12 @@
fsType = "vfat";
};
fileSystems."/srv/mcserver" =
{ device = "/dev/disk/by-uuid/7204ff85-6404-4bd7-ba0d-3fb23a5cf52c";
fsType = "btrfs";
options = [ "subvol=@mcserver" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking

View File

@ -0,0 +1,6 @@
{ pkgs, lib, config, ... }:
{
config = {
fileSystems."/srv/mcserver".options = [ "compress=zstd" "nofail" ];
};
}