templates: Rename diskIdShort to diskId

This commit is contained in:
Qubasa
2024-09-06 18:55:00 +02:00
parent 2568002611
commit 67bc66164c
3 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT
```nix hl_lines="14 40" ```nix hl_lines="14 40"
{ lib, ... }: { lib, ... }:
let let
suffix = config.clan.core.machine.diskIdShort; suffix = config.clan.core.machine.diskId;
mirrorBoot = idx: { mirrorBoot = idx: {
type = "disk"; type = "disk";
device = "/dev/disk/by-id/${idx}"; device = "/dev/disk/by-id/${idx}";
@@ -109,7 +109,7 @@ lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT
```nix hl_lines="14 40 41" ```nix hl_lines="14 40 41"
{ lib, ... }: { lib, ... }:
let let
suffix = config.clan.core.machine.diskIdShort; suffix = config.clan.core.machine.diskId;
mirrorBoot = idx: { mirrorBoot = idx: {
type = "disk"; type = "disk";
device = "/dev/disk/by-id/${idx}"; device = "/dev/disk/by-id/${idx}";

View File

@@ -1,7 +1,7 @@
{ lib, ... }: { lib, ... }:
let let
suffix = config.clan.core.machine.diskIdShort; suffix = config.clan.core.machine.diskId;
in in
{ {
boot.loader.grub.efiSupport = lib.mkDefault true; boot.loader.grub.efiSupport = lib.mkDefault true;

View File

@@ -1,7 +1,7 @@
{ lib, ... }: { lib, ... }:
let let
suffix = config.clan.core.machine.diskIdShort; suffix = config.clan.core.machine.diskId;
in in
{ {
# TO NOT EDIT THIS FILE AFTER INSTALLATION of a machine # TO NOT EDIT THIS FILE AFTER INSTALLATION of a machine