disko | 377 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 97 Servers |
| Sender | Message | Time |
|---|---|---|
| 19 Dec 2024 | ||
| 12:31:14 | ||
| 21 Dec 2024 | ||
| I'm trying to use the After running
I tried to delete the directory directly but it didn't work even as superuser (!?): My | 02:00:31 | |
| Is there something that doesn't get unmoun ted? | 09:46:18 | |
| mountpoint -q "${mountPoint}" | 09:47:17 | |
| Does your disko config not mount anything to it's mountpoint? | 09:47:37 | |
| I think it does. Here it is:
| 20:10:08 | |
| This doesn't return anything :( | 20:11:27 | |
| Also, if you can think of an easier way to create a USB stick with (i) a bootable NixOS (for recovery purposes) and (ii) persistent storage of important files, that'd work for me too! | 20:12:39 | |
| * Also, if you can think of an easier way to create a USB stick with (i) a bootable custom NixOS (for recovery purposes) and (ii) persistent storage of important files, that'd work for me too! | 20:12:50 | |
| 21:37:37 | ||
| hey, what is the best way to set up encrypted ZFS on root using disko? | 23:54:59 | |
| Is there a way to get it to prompt me for a passphrase while I am provisioning the dataset? | 23:55:36 | |
also, what is the difference between zpool.<name>.rootFsOptions and zpool.<name>.options? | 23:58:42 | |
| 22 Dec 2024 | ||
| and generally I want to make sure I understand how zfs property inheritance works with disko | 00:18:08 | |
In reply to @waltmck:matrix.orgzpool options are https://openzfs.github.io/openzfs-docs/man/master/7/zpoolprops.7.html | 00:19:28 | |
| whereas the rootfsoptions is https://openzfs.github.io/openzfs-docs/man/master/7/zfsprops.7.html | 00:19:46 | |
| because every zpool has an implicit 'root' dataset | 00:20:05 | |
In reply to @waltmck:matrix.orgit should do that if you don't set passwordFile or keyFile | 00:20:27 | |
| how are you using disko? | 00:20:41 | |
I'm not sure yet. I have used it with nixos-anywhere in the pass to deploy to headless servers, but it may be difficult since I am trying to set up encrypted root. I have physical access to this machine | 00:21:36 | |
* I'm not sure yet. I have used it with nixos-anywhere in the past to deploy to headless servers, but it may be difficult since I am trying to set up encrypted root. I have physical access to this machine | 00:21:49 | |
In reply to @waltmck:matrix.orgit should work fine with nixos-anywhere | 00:23:53 | |
| I'm not sure if I've tested if the prompting for passwords works correctly over SSH though | 00:24:07 | |
| it should work | 00:24:23 | |
| https://github.com/nix-community/nixos-anywhere/blob/main/docs/cli.md?plain=1#L41-L43 | 00:24:48 | |
| I'll check! | 00:24:59 | |
In reply to @enzime:nixos.devthis option is for if you want to write the password from a file and read it from that file | 00:25:16 | |
you'll need to set the corresponding passwordFile though for your luks | 00:25:40 | |
| you shouldn't need to use this flag if you want to prompt for your password | 00:26:16 | |
| I'm not using luks, I'm using zfs native encryption | 00:27:10 | |