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" "zts7mq7onf"
]; ];
disko.devices.disk.main.device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_48353082";
boot.loader.grub = { boot.loader.grub = {
efiSupport = true; efiSupport = true;
efiInstallAsRemovable = 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 = { disko.devices.disk.main = {
name = "main-" + suffix; name = "main-dbca87cd30a5498488026c65b37eba60";
type = "disk"; type = "disk";
device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_48353082";
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {

View File

@@ -33,8 +33,6 @@
clan.core.settings.state-version.enable = true; clan.core.settings.state-version.enable = true;
disko.devices.disk.main.device = "/dev/disk/by-id/ata-WD_Green_M.2_2280_480GB_2251E6411147";
nix.gc = { nix.gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";

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 = { disko.devices.disk.main = {
name = "main-" + suffix; name = "main-72b27bb5253045f38a07b6bc368ab85c";
type = "disk"; type = "disk";
device = "/dev/disk/by-id/ata-WD_Green_M.2_2280_480GB_2251E6411147";
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {