| 29 Oct 2024 |
phaer | Would have been nice to see how it works for you and improve disko if/where needed with the lessons learned :) | 08:40:01 |
phaer | If you want to start out with your own module and just need a solution specifically to add zfs datasets, it might be helpful to know about
nixosConfigurations.$hostname.config.disko.devices.zpool.$poolname.datasets."$dataset"._create which gives you the command diskos formatScript would use to create the dataset. That's already idempotent. Sylvie (she/it) 🏳️⚧️
| 08:42:14 |
| 31 Oct 2024 |
| tye-x joined the room. | 20:24:08 |
tye-x | In reply to @phaer:matrix.org
Yes, it's just for initial setup by default.
If you feel adventurous and have a tested backup of your data you can try rerunning the system.build.formatScript which should be idempotent but please review the script and don't blame us if it eats your data 😇
do you have any timeline for when post-setup configuration might be ready? | 20:26:04 |
tye-x | or anyway i could help with this? | 20:26:15 |
| 1 Nov 2024 |
| Sait joined the room. | 07:37:51 |
| Kamilla 'ova joined the room. | 14:01:59 |
Kamilla 'ova | Is there a way to run a command after creating a filesystem with disko? I want to run mkdir $target/{home,nix} to allow these directories binding to their real locations, e.g. something like this
fileSystems."/nix" = {
device = "/persist/nix";
fsType = "none";
options = [ "bind" ];
depends = [ "/persist" ];
neededForBoot = true;
};
| 14:08:31 |
Kamilla 'ova | Is there a way to run a command after creating a filesystem with disko? I want to run mkdir $target/{home,nix} to allow these directories binding to their real locations, e.g. something like this
fileSystems."/nix" = {
device = "/persist/nix";
fsType = "none";
options = [ "bind" ];
depends = [ "/persist" ];
neededForBoot = true;
};
| 14:08:36 |
Kamilla 'ova | postCreateHook, hmm | 14:33:38 |
| 2 Nov 2024 |
| pinpox joined the room. | 12:39:42 |
pinpox | I'm running into an error modrobe: command not found when trying to generate an image. I left the relevant configs and logs here: https://github.com/nix-community/disko/issues/857 if someone can help debug, feel free to ping me here and I can provide any info needed | 13:19:11 |
| no-mood joined the room. | 17:02:12 |
no-mood | Hi all :)
I've set up Disko on my existing config and now I'm trying to reinstall | 17:02:36 |