disko | 365 Members | |
| disko - declarative disk partitioning - https://github.com/nix-community/disko | 93 Servers |
| Sender | Message | Time |
|---|---|---|
| 9 Jan 2025 | ||
| 03:00:33 | ||
| 13:24:48 | ||
| 10 Jan 2025 | ||
| 19:50:23 | ||
| 22:15:58 | ||
| 22:43:36 | ||
| https://github.com/nix-community/disko/pull/936 minor fix | 23:32:18 | |
| https://github.com/nix-community/disko/pull/923/files I noticed this one. It's a significant typo, since it breaks the PostVM hook from working | 23:33:13 | |
| 11 Jan 2025 | ||
| 04:07:41 | ||
| 04:42:58 | ||
| 10:09:00 | ||
| 10:09:07 | ||
| 10:09:38 | ||
| 15:06:55 | ||
| 18:45:25 | ||
| 21:23:12 | ||
| 12 Jan 2025 | ||
| 12:38:51 | ||
| Do disko supports getting the system RAM size and using that as the size of the swap partition? | 13:30:14 | |
| Maybe with nixos-facter | 13:47:38 | |
| Thank you for answering. Guess I am not messing with that then, more complex than I thought it would be.
| 14:18:47 | |
| 13 Jan 2025 | ||
| Also, I have:
and disko-config.nix:
How to use | 22:23:20 | |
| 14 Jan 2025 | ||
| It seems diskoImagesScript is broken on nixpkgs master, as reported on https://github.com/nix-community/disko/issues/900#issuecomment-2556781723 I have run into the same issue, and I tried to fix it. Ever since vmRunCommand started depending on the Nix build environment and the switch from 9p to virtiofs, it has become awkward to make it work. The generated script doesn't run in the Nix build environment, so the only way I found to do it was saving the environment at build time and loading it in the script. It works, but it's a hack. Then I found out virtiofsd must be run as root or as fake root in a user namespace, which requires some code changes. diskoImages still works fine though. Is diskoImagesScript still supported? | 04:25:20 | |
| * It seems diskoImagesScript is broken on nixpkgs master, as reported at https://github.com/nix-community/disko/issues/900#issuecomment-2556781723 I have run into the same issue, and I tried to fix it. Ever since vmRunCommand started depending on the Nix build environment and the switch from 9p to virtiofs, it has become awkward to make it work. The generated script doesn't run in the Nix build environment, so the only way I found to do it was saving the environment at build time and loading it in the script. It works, but it's a hack. Then I found out virtiofsd must be run as root or as fake root in a user namespace, which requires some code changes. diskoImages still works fine though. Is diskoImagesScript still supported? | 04:26:13 | |
| Redacted or Malformed Event | 16:39:50 | |
* when i connect to sshfs with nix filesystems.<>.fsType = "sshfs" the mountpoint freezes and doesnt work properly but doing it with a manual command with the same options works as expected. anyone experiencing anything similar? | 16:40:00 | |
| 15 Jan 2025 | ||
| 00:34:32 | ||
| 10:01:37 | ||
| 16 Jan 2025 | ||
| 18:15:00 | ||
Hi, to encrypt drives during nixos-anywhere deployment, one must provide a temporary passphrase key file and add it in disko to the LUKS partition as well.However, setting key file under boot.initrd.luks.devices."device".keyFile leads to incorrect initrd-crypttab entry, which prevents automatic TPM unlock down the line since key file isn't available anymore after installation, thus it seems like I need to remove key file entries after disko ran and partitions were mounted, but before the installation starts, do you have any ideas how to deal with that situation? | 18:16:25 | |
| there is passwordFIle | 18:40:33 | |
| epic, missed that | 18:44:53 | |