!oNSIfazDqEcwhcOjSL:matrix.org

disko

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

You have reached the beginning of time (for this room).


SenderMessageTime
18 Aug 2024
@pxc:matrix.orgpxc

for now I'm doing my local testing a little more manually, with some customized install media that mounts the repo containing my NixOS config using a VirtFS share

if I can figure it out, though, would moving disko to use pkgs.nixosTest instead of make-test-python.nix as its entrypoint for NixOS vm-tests, and then modifying nixos-anywhere.sh to support running that test locally be an agreeable change?

17:00:19
@pxc:matrix.orgpxc *

for now I'm doing my local testing a little more manually, with some customized install media that mounts the repo containing my NixOS config using a VirtFS share and includes disko and nixos-anywhere on it

if I can figure it out, though, would moving disko to use pkgs.nixosTest instead of make-test-python.nix as its entrypoint for NixOS vm-tests, and then modifying nixos-anywhere.sh to support running that test locally be an agreeable change?

17:00:51
@pxc:matrix.orgpxc *

for now I'm doing my local testing a little more manually, with some customized install media that mounts the repo containing my NixOS config using a VirtFS share and includes disko and nixos-anywhere on it

if I can figure it out, though, would moving disko to use pkgs.nixosTest instead of make-test-python.nix as its entrypoint for NixOS vm-tests, and then modifying nixos-anywhere.sh to support running that test locally when it is used on macOS hosts be an agreeable change?

17:01:40
@preisi:matrix.orgpreisi joined the room.21:48:15
19 Aug 2024
@preisi:matrix.orgpreisi(Hopefully) quick question: How does disko handle changes to the disk-configuration of a running system? From my understanding, the partitioning/formatting is only done when actually executing disko (which shouldn't be done automatically by e.g., nixos-rebuild). But is the generated filesystem config stable enough for it to handle it? (It's using /disk/by-partuuid as far as I understood so it should be okay?) Or are there any destructive (inter)actions by/through disko that I need to be aware of for productive usage? :)09:37:03
@tmarkov:envs.nettmarkov joined the room.20:19:21
@tmarkov:envs.nettmarkovHi! I'm using disko for partitioning, with btrfs subvolumes on luks. Now I manually created a new subvoume, and added it to the disko config. But after rebuilding, it wasn't added to fstab for some reason, and doesn't get mounted. Is there some catch that I could be missing there?20:33:24
@lassulus:lassul.uslassulushard to say without the config, but in theory it should get mounted if you add it there20:42:03
20 Aug 2024
@matthewcroughan:defenestrate.itmatthewcroughan lassulus: https://github.com/nix-community/disko/pull/740 09:22:31
@matthewcroughan:defenestrate.itmatthewcroughandunno how this was missed09:22:33
@matthewcroughan:defenestrate.itmatthewcroughanjust nobody using it I guess09:22:56
@lassulus:lassul.uslassulusthe format is called f2fs-tools?09:23:08
@matthewcroughan:defenestrate.itmatthewcroughanoops09:23:47
@matthewcroughan:defenestrate.itmatthewcroughanit passed the vm test though09:24:02

Show newer messages


Back to Room ListRoom Version: 10