Move SIIT-DC to Hetzner

This commit is contained in:
Vili Sinervä 2025-06-17 00:59:37 +03:00
parent 248aa6c00e
commit c29a286355
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
2 changed files with 4 additions and 18 deletions

View file

@ -1,6 +1,6 @@
{ lib, modulesPath, ... }: { lib, modulesPath, ... }:
{ {
system.stateVersion = "24.05"; system.stateVersion = "25.05";
imports = [ imports = [
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")
@ -16,23 +16,9 @@
"sr_mod" "sr_mod"
]; ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/81dc35b1-5a34-4924-b864-b53e5ca9df24";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/D171-033F";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";

View file

@ -11,12 +11,12 @@
{ {
# Forgejo # Forgejo
"ipv6 prefix" = "${config.custom.gua_pref}d2:be24:11ff:feee:9c55/128"; "ipv6 prefix" = "${config.custom.gua_pref}d2:be24:11ff:feee:9c55/128";
"ipv4 prefix" = "87.92.33.54/32"; "ipv4 prefix" = "157.180.86.116/32";
} }
{ {
# Idacloud # Idacloud
"ipv6 prefix" = "${config.custom.gua_pref}d3:be24:11ff:fece:7d63/128"; "ipv6 prefix" = "${config.custom.gua_pref}d3:be24:11ff:fece:7d63/128";
"ipv4 prefix" = "82.181.174.95/32"; "ipv4 prefix" = "95.216.180.210/32";
} }
]; ];
}; };