Compare commits

..

3 commits

Author SHA1 Message Date
95bc8f3c70 feat(attic): enable IPv6 router solicitation via dhcpcd
- Set `networking.dhcpcd.IPv6rs` to `true` in `default.nix` to support IPv6 router solicitation.
- Ensures better compatibility with networks requiring IPv6 RA for configuration.
2026-03-25 10:04:11 +01:00
f2cc004192 feat(attic): remove ESP partition and enable GRUB for legacy boot
- Remove the ESP partition configuration in `disko.nix` as it’s unnecessary for legacy BIOS setups.
- Enable GRUB bootloader and disable EFI settings in `default.nix` for compatibility with Hetzner cloud instances.
2026-03-25 09:59:46 +01:00
8c1eadf474 feat(attic): update storage config and refine system settings
- Switch disk device from `/dev/vda` to `/dev/sda` for compatibility.
- Add S3 storage configuration with bucket, region, and endpoint.
- Update system state version from `24.05` to `25.11`.
- Remove unused imports and clean up redundant attributes.
2026-03-25 09:33:32 +01:00
4 changed files with 16 additions and 14 deletions

View file

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

View file

@ -2,8 +2,6 @@
lib, lib,
... ...
}: }:
with lib;
with lib.metacfg;
{ {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
@ -26,14 +24,20 @@ with lib.metacfg;
podman.dockerCompat = false; 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.enable = false;
security.tpm2.abrmd.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.allowedTCPPorts = [ 8080 ];
networking.firewall.allowPing = true; networking.firewall.allowPing = true;
powerManagement.cpuFreqGovernor = "ondemand"; powerManagement.cpuFreqGovernor = "ondemand";
system.stateVersion = "24.05"; system.stateVersion = "25.11";
} }

View file

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

View file

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