| 21 Jul 2024 |
lassulus | or diskoScript | 16:01:45 |
| C-word joined the room. | 17:44:51 |
C-word | Hi all! What is the difference and relationship between content.swap and content.subvolumes."/swap", | 17:55:01 |
C-word | Hi all! What is the difference and relationship between content.swap and content.subvolumes."/swap", do these need to be configured both? | 17:56:13 |
C-word | https://github.com/nix-community/disko/blob/bec6e3cde912b8acb915fecdc509eda7c973fb42/example/btrfs-subvolumes.nix#L60 | 17:56:24 |
lassulus | the first is for swap on the btrfs root device, the other one puts the swap on a subvolume, you only need one of those | 17:57:59 |
C-word | Thank you! | 17:59:25 |
adzuki | Hello, does encrypted swap necessarily break hibernation or is there a workaround? | 22:29:14 |
hexa | it does, because the encryption key is not remembered | 23:32:42 |
hexa | at least if you do random encryption | 23:32:53 |
| 22 Jul 2024 |
| bashfulrobot joined the room. | 17:17:39 |
| @min:min.rip left the room. | 21:25:55 |
| 23 Jul 2024 |
| Ezzobir Bezziou joined the room. | 08:23:20 |
| 25 Jul 2024 |
| bumperboat changed their display name from bumperboat (UTC+2) to bumperboat. | 12:47:27 |
| gdarends joined the room. | 13:17:11 |
gdarends | Hi there. I'm using disko currently and I want to switch my partitioning to LUKS with Yubikey FIDO2. It doesn't seem like this is supported yet. Do I need to stop using disko altogether or is there a stopgap solution? | 13:21:03 |
lassulus | probably it can be setup with hooks, not sure how though | 13:24:54 |
gdarends | https://github.com/moleculezz/nixos-config/blob/80a9d5fc7db228d61f6ecb0ef3cce63e394427d4/hosts/gnix/disk-configuration.nix | 13:24:59 |
gdarends | This is my current config. But I wanna move away from ZFS encryption because of the issues related with it. | 13:25:48 |
gdarends | What are hooks? Where can I read about it? | 13:26:40 |
gdarends | Is it a disko thing or nixos thing? | 13:27:04 |
lassulus | a disko thing | 13:32:28 |
lassulus | but we lack documentation for it I realize :D | 13:34:32 |
lassulus | basically you can set preCreateHook postCreateHook preMountHook and postMountHook on most disko types | 13:36:03 |
lassulus | https://github.com/nix-community/disko/blob/master/example/zfs.nix#L55 | 13:36:05 |
lassulus | it's just a shell script snippet that gets inserted into the generated script, although there are some variables from the type available as shell variables | 13:39:37 |
gdarends | Thanks. I'll check it out | 14:43:22 |
| 26 Jul 2024 |
| rypervenche joined the room. | 17:27:17 |
rypervenche | While reading the QuickStart for disko, I saw this line:
However, you will need to include the partitioning and formatting configurations that you copied into /tmp/disk-config.nix in your configuration, rather than allowing NixOS to generate information about your file systems.
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 |
| quentin joined the room. | 01:56:04 |