Compare commits

..

No commits in common. "95bc8f3c705e3c2b4d66bdbd42956bb1fa7a8296" and "04ebe32c3c0d4de306c099407b76b5cc03345ac5" have entirely different histories.

4 changed files with 14 additions and 16 deletions

View file

@ -31,13 +31,6 @@
listen = "[::]:8080";
storage = {
type = "s3";
bucket = "attic";
region = "hel1";
endpoint = "https://hel1.your-objectstorage.com";
};
# Data chunking
#
# Warning: If you change any of the values here, it will be

View file

@ -2,6 +2,8 @@
lib,
...
}:
with lib;
with lib.metacfg;
{
imports = [
./hardware-configuration.nix
@ -24,20 +26,14 @@
podman.dockerCompat = false;
};
# Legacy BIOS boot (Hetzner cloud instance)
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
boot.loader.grub.enable = true;
security.tpm2.enable = false;
security.tpm2.abrmd.enable = false;
networking.wireless.enable = false;
networking.dhcpcd.IPv6rs = true;
networking.wireless.enable = false; # Enables wireless support via wpa_supplicant.
networking.firewall.allowedTCPPorts = [ 8080 ];
networking.firewall.allowPing = true;
powerManagement.cpuFreqGovernor = "ondemand";
system.stateVersion = "25.11";
system.stateVersion = "24.05";
}

View file

@ -16,6 +16,15 @@
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "1G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {

View file

@ -14,7 +14,7 @@
./disko.nix
(modulesPath + "/profiles/qemu-guest.nix")
];
disko.devices.disk.main.device = "/dev/sda";
disko.devices.disk.main.device = "/dev/vda";
boot.initrd.availableKernelModules = [
"ahci"