!oNSIfazDqEcwhcOjSL:matrix.org

disko

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

Load older messages


SenderMessageTime
28 Oct 2024
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️ joined the room.12:21:21
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️ok so I just deployed to a system that was setup with disko. flake based config, the module is enabled. disko config has changed, namely zfs datasets were added. nothing happened. no new datasets were created. is that by design?12:24:14
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️what I had hoped to get out of disko was mostly declaratively defined zfs datasets, that I can just create by adding them to my config, but it seems I was wrong and that isn't a thing.12:28:13
@eyjhb:eyjhb.dkeyJhb
In reply to @sylvie:karp.lol
what I had hoped to get out of disko was mostly declaratively defined zfs datasets, that I can just create by adding them to my config, but it seems I was wrong and that isn't a thing.
It's only a think on initial setup AFAIK.
12:52:41
@eyjhb:eyjhb.dkeyJhb
In reply to @sylvie:karp.lol
what I had hoped to get out of disko was mostly declaratively defined zfs datasets, that I can just create by adding them to my config, but it seems I was wrong and that isn't a thing.
* It's only a thing on initial setup AFAIK.
12:52:47
@phaer:matrix.orgphaer

Yes, it's just for initial setup by default.

If you feel adventurous and have a tested backup of your data you can try rerunning the system.build.formatScript which should be idempotent but please review the script and don't blame us if it eats your data 😇

14:06:17
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️I see I see. So unfortunately current disko isn't really what I wanted. 😅18:00:49
@sylvie:karp.lolSylvie (she/it) 🏳️‍⚧️Guess I'll have to eventually try writing my own module for this...18:01:02
29 Oct 2024
@phaer:matrix.orgphaerWould have been nice to see how it works for you and improve disko if/where needed with the lessons learned :)08:40:01
@phaer:matrix.orgphaer

If you want to start out with your own module and just need a solution specifically to add zfs datasets, it might be helpful to know about

nixosConfigurations.$hostname.config.disko.devices.zpool.$poolname.datasets."$dataset"._create which gives you the command diskos formatScript would use to create the dataset. That's already idempotent. Sylvie (she/it) 🏳️‍⚧️

08:42:14
31 Oct 2024
@tye-x:matrix.orgtye-x joined the room.20:24:08
@tye-x:matrix.orgtye-x
In reply to @phaer:matrix.org

Yes, it's just for initial setup by default.

If you feel adventurous and have a tested backup of your data you can try rerunning the system.build.formatScript which should be idempotent but please review the script and don't blame us if it eats your data 😇

do you have any timeline for when post-setup configuration might be ready?
20:26:04
@tye-x:matrix.orgtye-xor anyway i could help with this?20:26:15
1 Nov 2024
@deliganli:matrix.orgSait joined the room.07:37:51
@kamillaova:matrix.orgKamilla 'ova joined the room.14:01:59
@kamillaova:matrix.orgKamilla 'ova Is there a way to run a command after creating a filesystem with disko?
I want to run mkdir $target/{home,nix} to allow these directories binding to their real locations, e.g. something like this

fileSystems."/nix" = {
	device = "/persist/nix";
	fsType = "none";
	options = [ "bind" ];
	depends = [ "/persist" ];
	neededForBoot = true;
};
14:08:31
@kamillaova:matrix.orgKamilla 'ova Is there a way to run a command after creating a filesystem with disko?
I want to run mkdir $target/{home,nix} to allow these directories binding to their real locations, e.g. something like this

fileSystems."/nix" = {
	device = "/persist/nix";
	fsType = "none";
	options = [ "bind" ];
	depends = [ "/persist" ];
	neededForBoot = true;
};
14:08:36
@kamillaova:matrix.orgKamilla 'ovapostCreateHook, hmm14:33:38
2 Nov 2024
@pinpox:matrix.orgpinpox joined the room.12:39:42
@pinpox:matrix.orgpinpox I'm running into an error modrobe: command not found when trying to generate an image. I left the relevant configs and logs here: https://github.com/nix-community/disko/issues/857 if someone can help debug, feel free to ping me here and I can provide any info needed 13:19:11
@no-mood:matrix.orgno-mood joined the room.17:02:12
@no-mood:matrix.orgno-moodHi all :) I've set up Disko on my existing config and now I'm trying to reinstall 17:02:36
@no-mood:matrix.orgno-moodBut when I run Disko I get this (sorry for the photo):17:02:48
@no-mood:matrix.orgno-mood20241102_175209_5031628150962988399.jpg
Download 20241102_175209_5031628150962988399.jpg
17:03:07
@no-mood:matrix.orgno-moodI've removed "latest" from the url but the installer (and terminal) crashes when using Disko install17:41:38
@no-mood:matrix.orgno-mood* I've removed "latest" from the url but the installer (and terminal) crashes when using Disko install EDIT: it runs out of Memory Using a pendrive and 16gb of RAM 17:51:19
@tanvir:hackliberty.org𝒕𝒂𝒏𝒗𝒊𝒓 changed their profile picture.19:01:17
@sigmasquadron:matrix.orgSigmaSquadron
In reply to @no-mood:matrix.org
I've removed "latest" from the url but the installer (and terminal) crashes when using Disko install
EDIT: it runs out of Memory
Using a pendrive and 16gb of RAM

Try again with the -j 1 flag.

20:01:38
@sigmasquadron:matrix.orgSigmaSquadronIt'll take longer, but it'll use less memory (and only one CPU core)20:01:59
@no-mood:matrix.orgno-mood
In reply to @sigmasquadron:matrix.org

Try again with the -j 1 flag.

Where do you put it?
20:03:56

Show newer messages


Back to Room ListRoom Version: 10