Compare commits
3 commits
04ebe32c3c
...
95bc8f3c70
| Author | SHA1 | Date | |
|---|---|---|---|
| 95bc8f3c70 | |||
| f2cc004192 | |||
| 8c1eadf474 |
4 changed files with 16 additions and 14 deletions
|
|
@ -31,6 +31,13 @@
|
|||
|
||||
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
|
||||
|
|
@ -2,8 +2,6 @@
|
|||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.metacfg;
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
|
@ -26,14 +24,20 @@ with lib.metacfg;
|
|||
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; # Enables wireless support via wpa_supplicant.
|
||||
networking.wireless.enable = false;
|
||||
networking.dhcpcd.IPv6rs = true;
|
||||
networking.firewall.allowedTCPPorts = [ 8080 ];
|
||||
networking.firewall.allowPing = true;
|
||||
|
||||
powerManagement.cpuFreqGovernor = "ondemand";
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
|
|
@ -16,15 +16,6 @@
|
|||
size = "1M";
|
||||
type = "EF02"; # for grub MBR
|
||||
};
|
||||
ESP = {
|
||||
size = "1G";
|
||||
type = "EF00";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
};
|
||||
};
|
||||
root = {
|
||||
size = "100%";
|
||||
content = {
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
./disko.nix
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
disko.devices.disk.main.device = "/dev/vda";
|
||||
disko.devices.disk.main.device = "/dev/sda";
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"ahci"
|
||||
Loading…
Add table
Add a link
Reference in a new issue