summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-08 13:43:00 +0200
committerSoispha <soispha@vhack.eu>2023-07-08 13:43:00 +0200
commit26b6c9120f6de5315ed8b21e48ab500fe44410d6 (patch)
tree199cd8bf8da496660aced6f1ff447263be1825f5
parentFix(system/disks): Change partitioning scheme to support gpt/bios boot (diff)
downloadnixos-server-26b6c9120f6de5315ed8b21e48ab500fe44410d6.tar.gz
nixos-server-26b6c9120f6de5315ed8b21e48ab500fe44410d6.zip
Fix(host/server1): Use working path to disk
-rw-r--r--hosts/server1/configuration.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/server1/configuration.nix b/hosts/server1/configuration.nix
index d40e749..f444715 100644
--- a/hosts/server1/configuration.nix
+++ b/hosts/server1/configuration.nix
@@ -11,7 +11,8 @@
   networking.hostName = "server1";
   networking.domain = "vhack.eu";
 
-  system.disks.disk = "/dev/disk/by-id/ata-QEMU_DVD-ROM_QM00003";
+  # FIXME: Find a better way to specify the disk
+  system.disks.disk = "/dev/vda";
 
   system.stateVersion = "22.11";
 }