Infini-DL360: fix disko config
This commit is contained in:
parent
4fb4b5657d
commit
1baac1f5d8
1 changed files with 10 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
with lib.disko;
|
with lib.our.disko;
|
||||||
let
|
let
|
||||||
inherit (builtins) mapAttrs;
|
inherit (builtins) mapAttrs;
|
||||||
mountOptions = defaultMountOptions;
|
mountOptions = defaultMountOptions;
|
||||||
|
@ -16,10 +16,9 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
disk = {
|
disk = {
|
||||||
lun = "usb-HP_iLO_LUN_01_Media_0_000002660A01-0:1" {
|
lun = mkDisk "usb-HP_iLO_LUN_01_Media_0_000002660A01-0:1" {
|
||||||
partitions = {
|
partitions = {
|
||||||
ESP = {
|
boot = {
|
||||||
name = "boot";
|
|
||||||
size = "256M";
|
size = "256M";
|
||||||
type = "EF00";
|
type = "EF00";
|
||||||
content = {
|
content = {
|
||||||
|
@ -46,12 +45,16 @@ in
|
||||||
};
|
};
|
||||||
zpool = mapAttrs mkZPool {
|
zpool = mapAttrs mkZPool {
|
||||||
zssd = {
|
zssd = {
|
||||||
|
datasets = {
|
||||||
nix = mkZfs "/nix" {};
|
nix = mkZfs "/nix" {};
|
||||||
persist = mkZfs "/persist" {};
|
persist = mkZfs "/persist" {};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
zhdd = {
|
zhdd = {
|
||||||
|
datasets = {
|
||||||
storage = mkZfs "/storage" {};
|
storage = mkZfs "/storage" {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue