| 13 Feb 2024 |
maralorn | It can’t be that more expensive than a subvolume deletion, can it?^^ | 03:25:41 |
maralorn | In reply to @maralorn:maralorn.de But seriously: How bad would the "ls / | grep -v "^(nix|disk)$ | xargs rm -rf" solution be? With the obvious caveat that it will take me ages to get that shell script completely correct.^^ | 03:26:16 |
raitobezarius | In reply to @maralorn:maralorn.de It can’t be that more expensive than a subvolume deletion, can it?^^ I don't remember otoh if subvolume deletion is lazy | 03:27:12 |
raitobezarius | In which case, rm is slower | 03:27:20 |
raitobezarius | I don't think this is a big deal in the end as long as you are satisfied | 03:27:48 |
maralorn | The beauty is: I can even do a snapshot before hand. | 03:29:12 |
maralorn | And only clean them up after a few boots/weeks. | 03:29:51 |
maralorn | Yeah, I like this. | 03:30:30 |
maralorn | Will try that out. | 03:30:38 |
maralorn | Also: I can put that in systemd unit in initrd. Which can execute any binary, right? So I can do this with writeHaskellScript and don’t have to fear that my bash skills eat my data. \o/ | 03:32:19 |
maralorn | Thank you for indulging my brainstorming. | 03:32:44 |
maralorn | Hm, in some examples partitions is a list. In others it’s an attrset. | 22:10:54 |
maralorn | What’s recommended? | 22:10:59 |
maralorn | attrset feels dodgy in regard to partition order? | 22:11:11 |
lassulus | Where is it a list? | 22:34:56 |
maralorn | Well, in my old disko files which I used the last time to mount my disk. | 22:43:21 |
maralorn | * Well, in my old disko files which I used the last time to format my disk. | 22:43:39 |
maralorn | I have learned by now that things work differently now. | 22:43:52 |
maralorn | It’s kinda unclear to me why that didn’t break when disko changed the options. | 22:44:38 |
maralorn | Oh, wait. | 22:45:05 |
maralorn | THere is type = "table" and type = "gpt" | 22:45:19 |
maralorn | THat’s my confusion. | 22:45:26 |
| 14 Feb 2024 |
lassulus | Ah yeah the table type was a mistake and people probably shouldn't use that anymore. I still have to add a warning to it if people still use it | 01:46:31 |
| @5m5z3q888q5prxkg:chat.lightnovel-dungeon.de changed their profile picture. | 19:41:33 |
| 15 Feb 2024 |
| comm0n set a profile picture. | 17:59:01 |
| 16 Feb 2024 |
| lord-valen joined the room. | 18:59:29 |
palo | Hmm, this worked a while ago, and it's used in the examples?
| 20:30:22 |
palo | * Hmm, this worked a while ago, and it's used in the examples?
error: The option `disko.devices.disk.sda.content.partitions."[definition 1-entry 2]".size' does not exist.
| 20:30:57 |
palo | https://git.ingolf-wagner.de/palo/nixos-config/src/branch/main/nixos/machines/orbi/disko-config.nix#L42 < that's the line that is wrong. | 20:32:13 |
palo | Hmm in the examples partitions is a attrs but When I do that. I get :
A definition for option `disko.devices.disk.sda.content.partitions' is not of type `list of (submodule)'.
| 20:46:01 |