disko | 406 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 113 Servers |
| Sender | Message | Time |
|---|---|---|
| 26 Jul 2024 | ||
| While reading the QuickStart for disko, I saw this line:
Is there a reason why one shouldn't just let NixOS generation information about my file systems? I'd like for my installs to be as vanilla as possible (as though they were completely installed manually) so I'm curious what pros and cons there are to just continuing the normal NixOS way | 17:29:24 | |
| 29 Jul 2024 | ||
| 01:56:04 | ||
| I'm trying to set up a ZFS root with disko. Without
| 02:00:13 | |
I'm guessing that means that the pool was supposed to mount at /mnt-root instead of /? How should I set the mountpoint options in disko to achieve that? | 02:00:41 | |
| 31 Jul 2024 | ||
| Qq. Do I have to add disko to my config? Or can I just write a nix file and run against it? Then run nix-install and leverage what it created? | 03:10:59 | |
In reply to @bashfulrobot.:matrix.orgYou can do either, but it's much nicer if it's in your config, since then you'll get things mounted automatically based on your disko config | 03:24:08 | |
In reply to @matthewcroughan:defenestrate.itAhhhhh. Ok. I didn’t realize that the config still “did stuff” post creation of the file system, etc. | 08:01:36 | |
| So I guess the process would be to write it into my config, use nix run on my disko file, install , rebuild with my config files which include the same disko file. August the direct! | 10:22:39 | |
| 2 Aug 2024 | ||
| There's currently no option to run commands after all mounts after creation is there? (I need to set owners & modes & acls) | 11:56:52 | |
Or maybe i can hack something like take all the mountpoints sort them and then take last and condition the postMountHook on it (which is annoying) | 12:00:26 | |
* Or maybe i can hack something like take all the mountpoints sort them and then take last and condition the postMountHook on it (which is annoying and i'm not sure will work) | 12:02:11 | |
To clarify. I think that postMountHook runs after every mount. That is correct right? | 12:09:46 | |
| only the initial mount done by the disko cli or nixos-anywhere, the mount in the installer | 12:40:47 | |
| i mean every mount that is done by disko installer | 12:50:49 | |
| that is runs after / is mounted, after /home is mounted, and after whatever is mounted else | 12:51:34 | |
| at least that's what it seemed to me | 12:51:56 | |
| * that it runs after / is mounted, after /home is mounted, and after whatever is mounted else | 12:52:12 | |
| * that it runs after / is mounted, after /home is mounted, and after whatever else is mounted | 12:52:32 | |
| * at least that's what it seemed to me, that instead of a single run after all mounts is done maybe i messed up something | 12:53:19 | |
| * at least that's what it seemed to me, that instead of a single run after all mounts is done it runs after each mount maybe i messed up something | 12:56:09 | |
| 19:38:14 | ||
| 5 Aug 2024 | ||
| Is it possible to create a configuration using BTRFS RAID1? | 23:40:25 | |
| 6 Aug 2024 | ||
| bold choice to use BTRFS' RAID system. | 01:43:12 | |
In reply to @sigmasquadron:matrix.orgI've been using it for years. 0 problems. I don't use RAID5/6 though, which are the problematic ones | 15:07:00 | |
| 7 Aug 2024 | ||
| If I add a new ZFS dataset, will Disko automatically create that? I assume no | 19:25:45 | |
| 8 Aug 2024 | ||
| Trying to setup LUKS+ZFS with Disko, I get prompted for my password, but right after I get this error.
| 11:30:57 | |
| huh | 11:32:16 | |
| it should be created if you run the formatScript again, but that can also be a bit dangerous as it a relatively new feature | 11:32:48 | |
| what did you try to run to get that error? | 11:33:18 | |
Works just fine without LUKS.
| 11:34:16 | |