Move SIIT-DC to Hetzner
This commit is contained in:
parent
248aa6c00e
commit
04d1047ada
4 changed files with 45 additions and 19 deletions
|
@ -3,7 +3,7 @@
|
|||
imports = [
|
||||
../../shared/base.nix
|
||||
../../shared/hardware/vm.nix
|
||||
../../shared/disko/basic-ext4.nix
|
||||
../../shared/disko/hetzner-ext4.nix
|
||||
|
||||
../../servers/siit-dc.nix
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, modulesPath, ... }:
|
||||
{
|
||||
system.stateVersion = "24.05";
|
||||
system.stateVersion = "25.05";
|
||||
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
|
@ -16,23 +16,9 @@
|
|||
"sr_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.kernelModules = [ ];
|
||||
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;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue