!oNSIfazDqEcwhcOjSL:matrix.org

disko

357 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko89 Servers

Load older messages


SenderMessageTime
1 Nov 2024
@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 [DECT: 7479] joined the room.12:39:42
@pinpox:matrix.orgpinpox [DECT: 7479] 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@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
@no-mood:matrix.orgno-moodBefore the -- ?20:04:26
@sigmasquadron:matrix.orgSigmaSquadron

Actually since this is -install the flag is probably --option max-jobs 1

20:08:27
@sigmasquadron:matrix.orgSigmaSquadron

added after 10pm--`

20:08:42
@sigmasquadron:matrix.orgSigmaSquadron *

added after --

20:08:47
@no-mood:matrix.orgno-moodTrying that in a moment, but wouldn't it be better to use another partition?20:09:13
@no-mood:matrix.orgno-moodI've tried with TMPDIR (saw on reddit) to use a partition instead of /tmp (on tmpfs) without luck20:09:47
@no-mood:matrix.orgno-moodI even mounted /tmp on another drive, I don't understand why it's not working 20:10:38
@no-mood:matrix.orgno-mood
In reply to @sigmasquadron:matrix.org

Actually since this is -install the flag is probably --option max-jobs 1

Still crashing
20:11:02
@sigmasquadron:matrix.orgSigmaSquadronWhat is the actual error?20:11:26
@no-mood:matrix.orgno-moodRan out of memory20:14:09
@no-mood:matrix.orgno-moodI can see it only in tty, if I run the gnome terminal it crashes after a while20:14:35
@no-mood:matrix.orgno-moodIt's this one: https://www.reddit.com/r/NixOS/comments/1cmb8up/no_space_left_on_device_during_install/20:16:05
3 Nov 2024
@no-mood:matrix.orgno-moodOkay, there's still one thing I'm not clear about with NixOS Anywhere. Is there a way to install the files on the target machine's disk as if I were using nixos-install?01:20:43
@deliganli:matrix.orgSaitanyone here managed to set up raspberry pi 3/4 with disko?12:36:42

Show newer messages


Back to Room ListRoom Version: 10