This commit is contained in:
albert 2024-07-14 20:50:10 +09:00
parent 6c188218e2
commit 4c48afb3be
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -1,8 +1,8 @@
{ lib, ... }:
{
disko.devices.disk = lib.genAttrs [ "a" "b" ] (name: {
disko.devices.disk = lib.genAttrs [ "sda" "sdb" ] (disk: {
type = "disk";
device = "/dev/sd${name}";
device = "/dev/${disk}";
content = {
type = "gpt";
partitions = {