mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: remove with; usage
This commit is contained in:
parent
7bb25e5d7a
commit
d7a0022766
7 changed files with 46 additions and 46 deletions
|
@ -10,18 +10,18 @@ in {
|
|||
main = {
|
||||
type = "disk";
|
||||
device = "/dev/disk/by-id/${disks.main}";
|
||||
content = with lib.disko.gpt; {
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
grub = partGrub;
|
||||
bios = partBoot "512M";
|
||||
rpool = partLuksZfs disks.main "rpool" "100%";
|
||||
grub = lib.disko.gpt.partGrub;
|
||||
bios = lib.disko.gpt.partBoot "512M";
|
||||
rpool = lib.disko.gpt.partLuksZfs disks.main "rpool" "100%";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
zpool = with lib.disko.zfs; {
|
||||
rpool = mkZpool {datasets = impermanenceZfsDatasets;};
|
||||
zpool = {
|
||||
rpool = lib.disko.zfs.mkZpool {datasets = lib.disko.zfs.impermanenceZfsDatasets;};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue