summary refs log tree commit diff stats
path: root/hosts
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-03 15:04:48 +0200
committerSoispha <soispha@vhack.eu>2023-07-05 21:34:07 +0200
commitd176a33b04e9c0254b42850255d2a864f22424e4 (patch)
tree512ddbb90c391d3c6001b03cab87a4efed14e266 /hosts
parentStyle(system/fs_layouts): Merge attrsets (diff)
downloadnixos-server-d176a33b04e9c0254b42850255d2a864f22424e4.tar.gz
nixos-server-d176a33b04e9c0254b42850255d2a864f22424e4.zip
Feat(system/disks): Add disko
Diffstat (limited to 'hosts')
-rw-r--r--hosts/server1/configuration.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/server1/configuration.nix b/hosts/server1/configuration.nix
index 78eacee..d40e749 100644
--- a/hosts/server1/configuration.nix
+++ b/hosts/server1/configuration.nix
@@ -1,4 +1,4 @@
-{pkgs, ...}: {
+{...}: {
   imports = [
     ./networking.nix # network configuration that just works
     ./hardware.nix
@@ -11,7 +11,7 @@
   networking.hostName = "server1";
   networking.domain = "vhack.eu";
 
-  system.fileSystemLayouts.mainDisk = "/dev/disk/by-uuid/7d960eb9-9334-4aef-9f7c-9a908a91a6db";
+  system.disks.disk = "/dev/disk/by-id/ata-QEMU_DVD-ROM_QM00003";
 
   system.stateVersion = "22.11";
 }