disko | 354 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 89 Servers |
| Sender | Message | Time |
|---|---|---|
| 11 Aug 2025 | ||
In reply to @tumble1999:matrix.orgYes you can still use that. Disko is more about the initial partitioning than everything relating to file systems especially concerning network shares. | 16:59:58 | |
In reply to @ginkogruen:matrix.orgHow come it can do tmpfs though? | 17:39:44 | |
In reply to @tumble1999:matrix.orgI donβt see the conflict with that? You asked if you can still use the fileSystems options. And you can, I do NFS shares through that myself. | 19:03:36 | |
| 13 Aug 2025 | ||
| 00:11:25 | ||
| 17:21:37 | ||
| 14 Aug 2025 | ||
| I want to leverage disko to create datasets for me post-install/initial set-up. I found this suggestion on discourse, and that works for those who've get all their disko config in 1x file (or 1x file that imports all/any other) per machine. I don't have my disko config conveniently collated into a variable like that, so I'm wondering how I can achieve something like the below w/disko (the below gives
PS: I make heavy use of https://flake.parts/options/flake-parts-modules.html, which allow me to split configuration like shown above easily across files | 17:17:19 | |
| just get config.system.build.format instead of running the cl | 17:22:09 | |
| * just get config.system.build.format instead of running the cli | 17:22:13 | |
| or formatScript | 17:24:07 | |
so something like systemd.services."zfs-import-tank".preStart = config.system.build.formatScript; | 17:29:07 | |
| Would any of you have any opinion on which of these two alternatives are better/safer/preferable?
| 21:01:21 | |
| In my opinion Disko would benefit from natively supporting this kind of thing---I have run into this too, and when tweaking my dataset properties it is a pain to try to keep them in sync with my Disko config. One idea is to have a boolean dataset attribute Balancing idempotency with the desire to not lose data accidentally is tricky---if you delete a dataset from your config, should Disko delete the dataset from your pool? One idea is to use a custom ZFS user property to identify datasets which are being managed by Disko; this would allow deleting dataset which no longer appear in yoru config, while keeping the ability for people to manually create unmanaged datasets | 22:53:56 | |
| * In my opinion Disko would benefit from natively supporting this kind of thing---I have run into this too, and when tweaking my dataset properties it is a pain to try to keep them in sync with my Disko config. One idea is to have a boolean dataset attribute Balancing idempotency with the desire to not lose data accidentally is tricky---if you delete a dataset from your config, should Disko delete the dataset from your pool? One idea is to use a custom ZFS user property to identify datasets which are being managed by Disko; this would allow deleting datasets which no longer appear in your config, while keeping the ability for people to manually create unmanaged datasets | 22:54:31 | |
| * In my opinion Disko would benefit from natively supporting this kind of thing---I have run into this too, and when tweaking my dataset properties it is a pain to try to keep them in sync with my Disko config. One idea is to have a boolean dataset attribute Balancing idempotency with the desire to not lose data accidentally is tricky---if you delete a dataset from your config, should Disko delete the dataset from your pool? One idea is to use a custom ZFS user property to identify datasets which are being managed by Disko; this would allow deleting datasets which no longer appear in your config, while keeping the ability for people to manually create unmanaged datasets | 22:55:19 | |
| Would a PR for this be welcome, or do you consider it out of scope? | 22:58:36 | |
| 15 Aug 2025 | ||
| They can't even merge a few lines of code to fix a critical bug for almost a week now, lol Do you think that somebody cares about your stuff here? | 02:44:18 | |
| First of all this is pretty disrespectful. Second: yeah, the set +x is probably shadowing the exit code. Third: would I call this critical? Probably not but it is still a bug which should be fixed | 10:31:42 | |
| Respect must be deserved And I think that bricked hard drive because of a typo is critical enough, isn't it? | 11:39:08 | |
| The disko people deserve your respect just for writing this and making it free software. Feel free to fork or start from scratch if you don't like how the project is run. But don't attack people | 11:41:15 | |
| I do get youre angry, you lost a disk, but you wont get the fix merged by being an ass. (As someone who still struggles with anger, i get ya) | 11:47:29 | |
| Luckily, I'm not so short-sighted as to rely on the amateur software But here's a fact: a random guy had fixed this bug for a maintainer almost a week ago, and his commit wasn't even merged When the free and open source software can brick your important data or make bad guys steel it, AND the dev doesn't care at all then it's not good and useful software anymore Are you guys also fixing RCEs like that? | 12:00:32 | |
| RCEs will usually be fixed faster, but if you rely on things it's always good to have your own fork to rely on | 12:01:59 | |
| luckily this is quite easy with nix and OSS software | 12:02:20 | |
| the askPassword thing is annoying but not really critical | 12:02:37 | |
In reply to @notahacker666:matrix.orgProbably offtopic, but I fundamentally disagree with the first sentence. In my opinion every human being deserves respect unconditionally. | 12:44:24 | |
| It is offtopic, my fellow liberal friend. Do you respect stalin by the way? | 13:03:55 | |
| I guess every person starting with respect does not mean they cannot lose it through their actions. But this getting pretty offtopic for here now, so please talk about disko instead here :) | 13:10:11 | |
| 16 Aug 2025 | ||
In reply to @waltmck:matrix.orgThis question got kind of derailed but I am still interested in whether actively managing datasets is something that you all would consider in-scope for disko | 05:00:28 | |
| I think I finally managed it today! But w/options in my own config, lmk if anyone's interested in taking a peek | 12:38:45 | |
| 22:30:28 | ||