!oNSIfazDqEcwhcOjSL:matrix.org

disko

367 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko94 Servers

Load older messages


SenderMessageTime
9 Apr 2024
@matthewcroughan:defenestrate.itmatthewcroughancould disko consume that same json file16:33:35
@matthewcroughan:defenestrate.itmatthewcroughan * could disko consume that same json file?16:33:36
@lassulus:lassul.uslassulus* Like encryption or multidevice16:33:40
@lassulus:lassul.uslassulusI think it's unit file Syntax?16:34:02
@matthewcroughan:defenestrate.itmatthewcroughanhmm.. damn, I thought there was json for some reason 16:34:52
@matthewcroughan:defenestrate.itmatthewcroughanso yes, disko is much more powerful for certain things still 16:35:32
@lassulus:lassul.uslassulusYes16:36:08
@lassulus:lassul.uslassulusAnd always will be. Because you can only do so much in a flat structure16:36:35
@lassulus:lassul.uslassulushttps://www.freedesktop.org/software/systemd/man/latest/repart.d.html#16:36:40
@matthewcroughan:defenestrate.itmatthewcroughanThe only reason to bother with repart is the improved performance then16:37:50
@matthewcroughan:defenestrate.itmatthewcroughanI still think it is quite important to be able to build an arm64 via binfmt in an accelerated x86 VM, since otherwise it's not possible to build disk images for other archs 16:38:33
@matthewcroughan:defenestrate.itmatthewcroughanin the case of repart, I am able to build an arm64 device image, since it ends up using binfmt for its operatons, not a whole Arm NixOS VM 16:39:15
@matthewcroughan:defenestrate.itmatthewcroughanand as I mentioned, doing binfmt inside of an accelerated x86 vm, does not have performance consequences, counter intuitively16:39:45
@matthewcroughan:defenestrate.itmatthewcroughanThat is the only thing preventing me from using disko atm, I will eventually figure this out and make a PR16:40:11
@lassulus:lassul.uslassulusMaybe it's easier to reuse the new disko-install command with an image file outside the nix sandbox16:51:02
@xxxcrow:matrix.orgn3v3r_a9a1n
In reply to @perchun:matrix.org
Yeah, it deleted all of my data if there wasn't something correct in the setup. Like no /persist/system or wrong permissions on /persist/home (in second scenario, home manager just failed to start completely). Though it is probably the fault of impermanence.

But for now, it works on my machine™. Feel free to send your final setup, I will happily steal it ;)
i got everything working, git repo is not ready yet, and the setup took many manual steps to do
18:14:11
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de changed their profile picture.23:12:30
10 Apr 2024
@brian:bmcgee.ie@brian:bmcgee.ie joined the room.15:33:04
11 Apr 2024
@luisf:matrix.orglhf joined the room.11:44:07
@pxc:matrix.orgpxc joined the room.18:13:18
@anthonyrsl:matrix.orgAnthony Rsl set a profile picture.21:59:16
@anthonyrsl:matrix.orgAnthony Rsl removed their profile picture.22:12:51
12 Apr 2024
@colemickens:matrix.orgcolemickens joined the room.04:20:13
14 Apr 2024
@zonnebloem:matrix.orgzonnebloemHi all During a nixos-rebuild switch, my system froze. After a hard reset my system doesn't boot anymore. It shows a grub prompt. Is there a way to make it boot? and repair it? Or do I need to reinstall the system with a live image and backup some date to a backup disk? My guess is my system crashed during the grub update .. I'm using disko with 2 mirrored ssd's: 1G vfat boot & luks-zfs rpool I'm using grub because systemd boot didn't work for this mirror.15:23:12
@sigmasquadron:matrix.orgSigmaSquadron You can try pointing grub to the NixOS kernel and initrd for your latest generation, and booting manually. Once you’re booted, rebuild the system with the --install-bootloader option. 15:26:59
@sigmasquadron:matrix.orgSigmaSquadron Alternatively, mount your disks on a NixOS live image and run nixos-install --no-root-password. 15:27:26
@sigmasquadron:matrix.orgSigmaSquadron * You can try pointing grub to the NixOS kernel and initrd for your latest generation, and booting manually. Once you’re booted, rebuild the system with the --install-bootloader option. 15:27:36
@zonnebloem:matrix.orgzonnebloemCould you point me towards a source which explains the first option?15:30:53
@hxr404:tchncs.dehxr404 ✨ [it/she] changed their display name from hxr404 ✨ [they/them] (offline) to hxr404 ✨ [they/them].15:31:15
@sigmasquadron:matrix.orgSigmaSquadron The paths will be more complicated, since they also include the hashes of the package, but the general gist of it is defined in the manual: https://www.gnu.org/software/grub/manual/grub/grub.html#GNU_002fLinux 15:33:47

Show newer messages


Back to Room ListRoom Version: 10