Compare commits

...

2 Commits

Author SHA1 Message Date
e5d5847b89 nixos/middleman: Disable zstd in nginx for now
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 25m3s
2024-07-20 22:41:01 +01:00
9e7294e871 nixos/shill: Rename atticd mount to harmonia 2024-07-20 21:19:25 +01:00
4 changed files with 7 additions and 6 deletions

View File

@ -133,7 +133,7 @@
(vm.lvmDisk "media")
(vm.lvmDisk "minio")
(vm.lvmDisk "nix-atticd")
(vm.lvmDisk "nix-cache")
(vm.lvmDisk "jam")
]);
};

View File

@ -240,7 +240,8 @@ in
recommendedTlsSettings = true;
recommendedBrotliSettings = true;
recommendedZstdSettings = true;
# Uh so nginx is hanging with zstd enabled... maybe let's not for now
# recommendedZstdSettings = true;
clientMaxBodySize = "0";
serverTokens = true;
resolver = {

View File

@ -33,7 +33,7 @@ in
{
fileSystems = {
"/var/lib/harmonia" = {
device = "/mnt/atticd/harmonia";
device = "/mnt/nix-cache";
options = [ "bind" ];
};
};

View File

@ -94,8 +94,8 @@ in
device = "/dev/disk/by-label/minio";
fsType = "xfs";
};
"/mnt/atticd" = {
device = "/dev/disk/by-label/atticd";
"/mnt/nix-cache" = {
device = "/dev/disk/by-label/nix-cache";
fsType = "ext4";
};
};
@ -206,7 +206,7 @@ in
object = {
bindMounts = {
"/mnt/minio".readOnly = false;
"/mnt/atticd".readOnly = false;
"/mnt/nix-cache".readOnly = false;
};
};
toot = {};