| 7 Apr 2024 |
lassulus | * but why are those 2 parameters (-p prints, -o wipes) so close together on the keyboard :D | 12:53:14 |
n3v3r_a9a1n | Quick questiono about disko and nixos-anywhere! How do I skip disko in nixos-anywhere? | 16:01:36 |
lassulus | Hmm you can't really. Maybe we should add a --stop-after-kexec parameter | 16:29:37 |
| 8 Apr 2024 |
| l0b0 joined the room. | 00:55:29 |
| @palo:xaos.space changed their display name from palo to palo moved to @mrvandalo:terranix.org. | 13:03:24 |
| palo joined the room. | 13:06:37 |
| @palo:xaos.space left the room. | 13:06:51 |
| palo changed their display name from mrvandalo to palo. | 13:12:45 |
n3v3r_a9a1n | is disko working with clevis??
error:
… while evaluating attribute 'nodes'
at «string»:4:25:
3| (deploy // {
4| nodes = {
| ^
5| inherit (deploy.nodes) "immortal";
… while evaluating attribute 'immortal'
at «string»:5:49:
4| nodes = {
5| inherit (deploy.nodes) "immortal";
| ^
6| };
(stack trace truncated; use '--show-trace' to show the full trace)
error:
Failed assertions:
- No filesystem or LUKS device with the name /dev/disk/by-uuid/9119a486-5702-4af7-bce8-5bb7e513ea6f is declared in your configuration.
- No filesystem or LUKS device with the name /dev/disk/by-uuid/e85aa7c5-5926-434c-8142-0ede397a6369 is declared in your configuration.
🚀 ❌ [deploy] [ERROR] Failed to evaluate deployment data: Evaluation resulted in a bad exit code: Some(1)
| 15:07:54 |
Perchun Pak | afaik, disko doesn't use uuids to manage paritions, but labels
~ ❯ ls /dev/disk/by-partlabel/
disk-main-ESP
disk-main-luks
disk-main-swap
| 15:13:19 |
Perchun Pak | In reply to @perchun:matrix.org
afaik, disko doesn't use uuids to manage paritions, but labels
~ ❯ ls /dev/disk/by-partlabel/
disk-main-ESP
disk-main-luks
disk-main-swap
or i should probably say "doesn't use uuids to reference partitions" | 15:13:51 |
lassulus | not sure if we can precalculate the UUIDs somehow, but afaik they are randomly generated | 15:13:53 |
lassulus | I guess we could override them with some hash if we really wanted to | 15:14:11 |
n3v3r_a9a1n | same for partlabel:
warning: Git tree '/home/egor/my-little-flake' is dirty
error:
… while evaluating attribute 'nodes'
at «string»:4:25:
3| (deploy // {
4| nodes = {
| ^
5| inherit (deploy.nodes) "immortal";
… while evaluating attribute 'immortal'
at «string»:5:49:
4| nodes = {
5| inherit (deploy.nodes) "immortal";
| ^
6| };
(stack trace truncated; use '--show-trace' to show the full trace)
error:
Failed assertions:
- No filesystem or LUKS device with the name /dev/disk/by-partlabel/disk-nvme0n1-luks is declared in your configuration.
- No filesystem or LUKS device with the name /dev/disk/by-partlabel/disk-sda-luks is declared in your configuration.
🚀 ❌ [deploy] [ERROR] Failed to evaluate deployment data: Evaluation resulted in a bad exit code: Some(1)
| 15:17:54 |
n3v3r_a9a1n | In reply to @xxxcrow:matrix.org
same for partlabel:
warning: Git tree '/home/egor/my-little-flake' is dirty
error:
… while evaluating attribute 'nodes'
at «string»:4:25:
3| (deploy // {
4| nodes = {
| ^
5| inherit (deploy.nodes) "immortal";
… while evaluating attribute 'immortal'
at «string»:5:49:
4| nodes = {
5| inherit (deploy.nodes) "immortal";
| ^
6| };
(stack trace truncated; use '--show-trace' to show the full trace)
error:
Failed assertions:
- No filesystem or LUKS device with the name /dev/disk/by-partlabel/disk-nvme0n1-luks is declared in your configuration.
- No filesystem or LUKS device with the name /dev/disk/by-partlabel/disk-sda-luks is declared in your configuration.
🚀 ❌ [deploy] [ERROR] Failed to evaluate deployment data: Evaluation resulted in a bad exit code: Some(1)
Solved with boot.initrd.luks.devices | 15:26:01 |
| @lychee:lefishe.club changed their display name from lychee to kay. | 17:11:04 |
| 9 Apr 2024 |
matthewcroughan | lassulus: just wondering, have you seen the systemd-repart stuff in nixos? | 16:24:18 |
matthewcroughan | https://nixos.org/manual/nixos/unstable/#sec-image-repart | 16:24:36 |
matthewcroughan | it is just super fancy | 16:24:45 |
lassulus | Yes | 16:24:49 |
matthewcroughan | If you had to compare it in terms of feature parity to disko, what would you say? | 16:25:16 |
matthewcroughan | does it lack certain things ? | 16:25:24 |
matthewcroughan | I know for example it might lack the boot flow tests that disko has | 16:25:31 |
lassulus | No multi device. No lvm. No zfs. No bcachefs | 16:32:12 |
matthewcroughan | Actually at scale21x someone was showing it to me, and we seemed to get bcachefs working after I forked nixpkgs and changed two lines | 16:32:32 |
matthewcroughan | are you sure it doesn't work? I was going to try it today to see | 16:32:38 |
lassulus | well basic bcachefs works. But no advanced features | 16:33:00 |
lassulus | Mike encryption miltidevice | 16:33:11 |
lassulus | * Like encryption miltidevice | 16:33:20 |
matthewcroughan | At the least though, isn't there some json file that repart consumes? | 16:33:31 |