!oNSIfazDqEcwhcOjSL:matrix.org

disko

171 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko55 Servers

Load older messages


SenderMessageTime
14 Aug 2024
@sigmasquadron:matrix.orgSigmaSquadron *

Something is up with udisks; the disk ID isn't a link to /dev/sdb. Not a disko issue though.

22:20:56
16 Aug 2024
@glaringweakness:nope.chat@glaringweakness:nope.chat left the room.02:06:20
17 Aug 2024
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ± changed their profile picture.08:27:42
@pxc:matrix.orgpxcoops, I'm in this channel and forgot it existed22:23:52
@pxc:matrix.orgpxc is anyone here having success testing disko installation on using --test-vm on macOS? 22:25:11
18 Aug 2024
@pxc:matrix.orgpxc * is anyone here having success testing disko installation on using --vm-test on macOS? 00:17:15
@pxc:matrix.orgpxc

ok so I guess what I want to happen is for when I run nixos-anywhere ... --vim-test on a Mac, I want it to build the VM on an aarch64-linux remote builder, but then run the final test (boot the thing and whatever) by running qemu directly on the Mac.

But right now that test lives inside the nixosConfiguration, as <machine>.system.build.installTest, which means of course that it is also aarch64-linux, so that final qemu invocation is still running under my aarch64-linux builder

which sucks because that doesn't have any working qemu accelerators other than tcg

00:26:46
@pxc:matrix.orgpxc *

ok so I guess what I want to happen is for when I run nixos-anywhere ... --vm-test on a Mac, I want it to build the VM on an aarch64-linux remote builder, but then run the final test (boot the thing and whatever) by running qemu directly on the Mac.

But right now that test lives inside the nixosConfiguration, as <machine>.system.build.installTest, which means of course that it is also aarch64-linux, so that final qemu invocation is still running under my aarch64-linux builder

which sucks because that doesn't have any working qemu accelerators other than tcg

00:26:53
@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
@matthewcroughan:defenestrate.itmatthewcroughanwtf09:24:04
@matthewcroughan:defenestrate.itmatthewcroughanhow is that possible09:24:22
@matthewcroughan:defenestrate.itmatthewcroughan I guess just because the act of putting "f2fs" into boot.supportedFilesystems is enough to make the VM Test work thanks to the github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/filesystems/f2fs.nix#L16-L18 09:25:30
@matthewcroughan:defenestrate.itmatthewcroughanBTW, I think http://www.linux-mtd.infradead.org/faq/ubi.html would be interesting to support in Disko, though I'm not entirely sure how it would work yet09:25:48
@matthewcroughan:defenestrate.itmatthewcroughanJFFS209:25:56
@matthewcroughan:defenestrate.itmatthewcroughan
In reply to @lassulus:lassul.us
the format is called f2fs-tools?
amended anyway, though it's interesting that VM tests won't catch those issues due to modules/tasks/filesystems in nixpkgs
09:27:06
@benjaminedwardwebb:envs.net@benjaminedwardwebb:envs.net changed their display name from benjaminedwardwebb to benwebb.12:44:10
@shinri:zince.net@shinri:zince.net joined the room.12:53:08

Show newer messages


Back to Room ListRoom Version: 10