!oNSIfazDqEcwhcOjSL:matrix.org

disko

364 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko93 Servers

Load older messages


SenderMessageTime
10 Sep 2024
@colemickens:matrix.orgcolemickensBTW, I gushed a bit in the ARM room, but disko is really nice, thanks y'all!15:30:39
@tumble1999:matrix.orgTumbleI wonder if I can happily forget fdisk now?15:42:26
@colemickens:matrix.orgcolemickensI only had to use it to sanity check! :)15:57:23
@artur:glasgow.social(lambda (f l) (format nil "~a ~a")) "Artur" "Manuel" changed their display name from (lambda (u) (format nil "~A lost their email!" u)) "Artur Manuel" to Artur Manuel (on break).17:32:31
@artur:glasgow.social(lambda (f l) (format nil "~a ~a")) "Artur" "Manuel" changed their profile picture.17:34:53
@artur:glasgow.social(lambda (f l) (format nil "~a ~a")) "Artur" "Manuel" changed their display name from Artur Manuel (on break) to (lambda (u) (format nil "~A is not using Matrix right now." u)) "Artur Manuel".17:36:31
11 Sep 2024
@mannp:mannuk.rocksmannp ⚡️Hi all. I am using disko on the root disk on quite a few machines now and its worked well. I am wondering if after adding a separate 2g "data" disk I can add that to my disko config, and it will too get formatted as per the defn. Is that something that is supported? Thanks.13:59:36
@lassulus:lassul.uslassulusyou would have to run disko manually for that to work, there should be support now for incremental updates, but that is very new and can cause data loss. so do that with care :) I can you can also just run the commands for the new disk manually by inspecting the generated script14:08:57
@mannp:mannuk.rocksmannp ⚡️I see, thanks for the quick response, just adding context in case it matters, I am using luks and btrfs for my main disk and have created the defn for luks and btrfs with one subvol /storage device in disko, but I am not sure if I am going to wipe out my main boot disk too 🙂14:19:46
@lassulus:lassul.uslassuluswell disko should not wipe it out, but better have backups ;)14:21:35
@mannp:mannuk.rocksmannp ⚡️lol, okay14:23:13
@mannp:mannuk.rocksmannp ⚡️so I can use --dry-run to just get the script it seems, but am I perhaps able to pull out just the storage defn in the flake and ignore the boot disk defn?14:24:06
@mannp:mannuk.rocksmannp ⚡️Does disko support 2 luks encrypted devices in the same config as nix is complaining of multiple luks device definitions ... back to the manual I guess 🙂14:30:08
@lassulus:lassul.uslassulusit should, but it needs different names14:30:46
@mannp:mannuk.rocksmannp ⚡️Apologies, rookie copy and paste error14:34:42
@mannp:mannuk.rocksmannp ⚡️I am using "passwordFile = "/tmp/secret.key";" and unlocking the root luks partition is interactive, but the second cryptstorage is not. it fails to find the partiton due to lack of password. Does the second luks device have to be defined differantly?15:05:31
@mannp:mannuk.rocksmannp ⚡️ * I am using "passwordFile = "/tmp/secret.key";" and unlocking the root luks partition is interactive, but the second cryptstorage is not. it fails to find the partiton due to lack of password. Does the second luks device have to be defined differantly? edit: Trying keyFile15:12:25
@mannp:mannuk.rocksmannp ⚡️When I have the flake inputs.disko.nixosModules.disko defined in my machine config, is that purely for mounting the disks? It doesn't run any further formatting post initial installation?15:16:17
@mannp:mannuk.rocksmannp ⚡️seems its a pre install tool not post, unless I am missing something from the manual. Will go the manual formatting route. cheers15:36:06
12 Sep 2024
@artur:glasgow.social(lambda (f l) (format nil "~a ~a")) "Artur" "Manuel" changed their display name from (lambda (u) (format nil "~A is not using Matrix right now." u)) "Artur Manuel" to (lambda (u) (format nil "~a ~a")) "Artur" "Manuel".01:48:49
@artur:glasgow.social(lambda (f l) (format nil "~a ~a")) "Artur" "Manuel" changed their display name from (lambda (u) (format nil "~a ~a")) "Artur" "Manuel" to (lambda (f l) (format nil "~a ~a")) "Artur" "Manuel".01:55:56
@enzime:nixos.devEnzime joined the room.16:13:23
13 Sep 2024
@colemickens:matrix.orgcolemickensokay, filed the issue for xcp, and sent a PR for impure-memSize: https://github.com/nix-community/disko/pull/77019:08:09
14 Sep 2024
@relichunter:nitro.chatrelichunter set a profile picture.17:40:58
15 Sep 2024
@lassulus:lassul.uslassulus Enzime: is helping out with maintaining disko from now on, please welcome him kindly :) 11:46:47
@colemickens:matrix.orgcolemickensI found it a bit tricky to do this right, how can I better specify these partition start/ends that don't leave such awkward gaps: https://github.com/colemickens/nixcfg/blob/06d838e8abe1392433c3ddf08cff23da381f7cee/hosts/h96maxv58/base.nix#L80-L11021:39:51
@lassulus:lassul.uslassulusYou can do start = 0. sgdisk will choose the next free block then21:51:07
@lassulus:lassul.uslassulusWhich is also the default21:51:16
@colemickens:matrix.orgcolemickensthe problem with start=0 is ordering22:02:24
@colemickens:matrix.orgcolemickensesp with it hoisting ESP to be partition 122:05:37

Show newer messages


Back to Room ListRoom Version: 10