hosts: kabtopci: some changes for hydra space

This commit is contained in:
Kabbone 2024-08-16 14:56:56 +02:00
parent eae9aa6d62
commit 183a280402
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY
3 changed files with 4 additions and 4 deletions
hosts/kabtopci
modules/services/kabtopci

View File

@ -59,7 +59,7 @@
fileSystems."/nix" = fileSystems."/nix" =
{ device = "/dev/disk/by-label/NIXROOT"; { device = "/dev/disk/by-label/NIXROOT";
fsType = "btrfs"; fsType = "btrfs";
options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@nix,discard=async" ]; options = [ "compress=zstd:9,space_cache=v2,ssd,noatime,subvol=@nix,discard=async" ];
}; };
fileSystems."/swap" = fileSystems."/swap" =

View File

@ -8,7 +8,7 @@
listenHost = "127.0.0.1"; listenHost = "127.0.0.1";
notificationSender = "hydra@kabtop.de"; notificationSender = "hydra@kabtop.de";
useSubstitutes = true; useSubstitutes = true;
minimumDiskFree = 30; minimumDiskFree = 8;
}; };
nix-serve = { nix-serve = {
enable = true; enable = true;

View File

@ -96,8 +96,8 @@ in
microvm = { microvm = {
hypervisor = "qemu"; hypervisor = "qemu";
vcpu = 4; vcpu = 4;
mem = 4096; mem = 3096;
balloonMem = 4096; balloonMem = 3096;
#kernel = pkgs.linuxKernel.packages.linux_latest; #kernel = pkgs.linuxKernel.packages.linux_latest;
interfaces = [ interfaces = [
{ {