migrate from clan disk-id to standalone disko
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -33,8 +33,6 @@
|
||||
|
||||
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 = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
|
||||
@@ -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-72b27bb5253045f38a07b6bc368ab85c";
|
||||
type = "disk";
|
||||
device = "/dev/disk/by-id/ata-WD_Green_M.2_2280_480GB_2251E6411147";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
|
||||
Reference in New Issue
Block a user