Compare commits

...

3 Commits

Author SHA1 Message Date
197b557468
desktop: open firewall to wg0 2024-03-23 18:27:55 -04:00
ffc0b1472f
nullbox: /ntfs nofail 2024-03-23 17:07:16 -04:00
8ef0925c01
nullbox: mount mcserver as nofail 2024-03-23 17:06:58 -04:00
3 changed files with 15 additions and 1 deletions

View File

@ -12,6 +12,7 @@
./hardware-configuration.nix
# Encryption
./luks.nix
./mcserver.nix
];
config = {
@ -21,7 +22,7 @@
"/ntfs" = {
fsType = "ntfs-3g";
device = "/dev/disk/by-uuid/6AC23F0FC23EDF4F";
options = [ "auto_cache" ];
options = [ "auto_cache" "nofail" ];
};
"/.btrfsroot" = {
options = [ "subvol=/" ];

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,7 @@
{ pkgs, lib, config, ... }:
{
config = {
fileSystems."/srv/mcserver".options = [ "compress=zstd" "nofail" ];
networking.firewall.trustedInterfaces = [ "wg0" ];
};
}