chore: remove name from partitions for new disko part format

This commit is contained in:
oddlama 2024-03-02 13:46:07 +01:00
parent dca8158b4f
commit c0ecafbd7c
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 7 additions and 8 deletions

View file

@ -12,7 +12,7 @@ be changed unless you decide you want to use that specific module.
| Name | Type | Source | Requires | Optional deps | Description |
|---|---|---|---|---|---|
Networking library and extensions | Lib | [Link](./lib/net.nix) | - | - | Integrates [this libary](https://gist.github.com/duairc/5c9bb3c922e5d501a1edb9e7b3b845ba) which adds option types for IPss, CIDRs, MACs, and more. Also adds some extensions for missing functions and cross-node hashtable-based lazy IP/MAC assignment.
Networking library and extensions | Lib | [Link](./lib/net.nix) | - | - | Integrates [this libary](https://gist.github.com/duairc/5c9bb3c922e5d501a1edb9e7b3b845ba) which adds option types for IPs, CIDRs, MACs, and more. Also adds some extensions for missing functions and cross-node hashtable-based lazy IP/MAC assignment.
Interface naming by MAC | Module | [Link](./modules/interface-naming.nix) | - | - | Allows you to define pairs of MAC address and interface name which will be enforced via udev as early as possible.
EFI/BIOS boot config | Module | [Link](./modules/boot.nix) | - | - | Allows you to specify a boot type (bios/efi) and the correct loader will automatically be configured
Nginx recommended options | Module | [Link](./modules/nginx.nix) | - | agenix | Sets many recommended settings for nginx with a single switch plus some opinionated defaults. Also adds a switch for setting recommended security headers on each location.

View file

@ -15,13 +15,13 @@ _inputs: final: prev: {
};
};
gpt = {
partGrub = name: start: end: {
inherit name start end;
partGrub = start: end: {
inherit start end;
part-type = "primary";
flags = ["bios_grub"];
};
partEfi = name: start: end: {
inherit name start end;
partEfi = start: end: {
inherit start end;
fs-type = "fat32";
bootable = true;
content = {
@ -30,8 +30,8 @@ _inputs: final: prev: {
mountpoint = "/boot";
};
};
partSwap = name: start: end: {
inherit name start end;
partSwap = start: end: {
inherit start end;
fs-type = "linux-swap";
content = {
type = "swap";
@ -40,7 +40,6 @@ _inputs: final: prev: {
};
partLuksZfs = luksName: pool: start: end: {
inherit start end;
name = "${pool}_${luksName}";
content = final.lib.disko.content.luksZfs luksName pool;
};
};