migrate from clan disk-id to standalone disko

This commit is contained in:
2025-07-19 18:48:09 +02:00
parent c72f0a9c51
commit 862cdcda9b
4 changed files with 4 additions and 26 deletions

View File

@@ -39,8 +39,6 @@
"zts7mq7onf"
];
disko.devices.disk.main.device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_48353082";
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;

View File

@@ -1,17 +1,8 @@
{
clan-core,
config,
...
}:
let
suffix = config.clan.core.vars.generators.disk-id.files.diskId.value;
in
{
imports = [ clan-core.clanModules.disk-id ];
disko.devices.disk.main = {
name = "main-" + suffix;
name = "main-dbca87cd30a5498488026c65b37eba60";
type = "disk";
device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_48353082";
content = {
type = "gpt";
partitions = {