Revert "Merge pull request 'machine_id_v2' (#2052) from Qubasa/clan-core:machine_id_v2 into main"

This reverts commit 22a11abfe5, reversing
changes made to 208b71ac0e.
This commit is contained in:
a-kenji
2024-09-10 14:01:12 +02:00
parent b0e8ae7adb
commit b13ed922b1
28 changed files with 254 additions and 545 deletions

View File

@@ -1,15 +1,10 @@
{ lib, ... }:
let
suffix = config.clan.core.machine.diskId;
in
{
boot.loader.grub.efiSupport = lib.mkDefault true;
boot.loader.grub.efiInstallAsRemovable = lib.mkDefault true;
disko.devices = {
disk = {
"main" = {
name = suffix;
main = {
type = "disk";
# Set the following in flake.nix for each maschine:
# device = <uuid>;

View File

@@ -1,8 +1,4 @@
{ lib, ... }:
let
suffix = config.clan.core.machine.diskId;
in
{
# TO NOT EDIT THIS FILE AFTER INSTALLATION of a machine
# Otherwise your system might not boot because of missing partitions / filesystems
@@ -10,8 +6,7 @@ in
boot.loader.grub.efiInstallAsRemovable = lib.mkDefault true;
disko.devices = {
disk = {
"main" = {
name = suffix;
main = {
type = "disk";
# Set the following in flake.nix for each maschine:
# device = <uuid>;