Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zfs, lvm raid, btrfs subvolumes support & some fixups #27

Merged
merged 13 commits into from
Aug 26, 2022
Merged

zfs, lvm raid, btrfs subvolumes support & some fixups #27

merged 13 commits into from
Aug 26, 2022

Conversation

Lassulus
Copy link
Collaborator

No description provided.

default.nix Outdated Show resolved Hide resolved
tests/zfs.nix Outdated Show resolved Hide resolved
tests/luks-lvm.nix Outdated Show resolved Hide resolved
default.nix Show resolved Hide resolved
default.nix Outdated Show resolved Hide resolved
${if hasInfix "%" x.size then "-l" else "-L"} ${x.size} \
-n ${q.name} \
${lib.optionalString (!isNull x.lvm_type or null) "--type=${x.lvm_type}"} \
${q.vgname}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gibt es da keine extraargs oder sowas? was wenn ich --stripes oder sowas angeben will?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

einen thinpool und thin lvs darauf kann ich hiermit relativ sicher auch nicht erstellen 🤔

@Lassulus Lassulus changed the title zfs support & some fixups zfs, lvm raid, btrfs subvolumes support & some fixups Aug 25, 2022
@@ -38,42 +39,65 @@ let
};
};

config.zfs_filesystem = q: x: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

q? x?

Copy link
Collaborator Author

@Lassulus Lassulus Aug 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

q is the state upwards and x the configuration downwards

basically like super and self, but super is also self :D

@Baitinq Baitinq mentioned this pull request Aug 26, 2022
@Mic92 Mic92 merged commit adf901d into master Aug 26, 2022
@Mic92 Mic92 deleted the zfs branch August 26, 2022 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants