| 18 Aug 2024 |
pxc | * 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 | * 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 joined the room. | 21:48:15 |
| 19 Aug 2024 |
preisi | (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 joined the room. | 20:19:21 |
tmarkov | Hi! 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 | hard to say without the config, but in theory it should get mounted if you add it there | 20:42:03 |
| 20 Aug 2024 |
matthewcroughan | lassulus: https://github.com/nix-community/disko/pull/740 | 09:22:31 |
matthewcroughan | dunno how this was missed | 09:22:33 |
matthewcroughan | just nobody using it I guess | 09:22:56 |
lassulus | the format is called f2fs-tools? | 09:23:08 |
matthewcroughan | oops | 09:23:47 |
matthewcroughan | it passed the vm test though | 09:24:02 |
matthewcroughan | wtf | 09:24:04 |
matthewcroughan | how is that possible | 09:24:22 |
matthewcroughan | 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 | BTW, 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 yet | 09:25:48 |
matthewcroughan | JFFS2 | 09:25:56 |
matthewcroughan | 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 changed their display name from benjaminedwardwebb to benwebb. | 12:44:10 |
| @shinri:zince.net joined the room. | 12:53:08 |
@shinri:zince.net | Hi. I'm shifting to tmpfs root with disko configuring my disk partition ( my conf here: https://git.sr.ht/~zincentimeter/nix-conf/tree/main/item/system/disko.nix ). How can I mount it as /nix and left all directories except /nix/* to be on disk? Should I move all the existing files of /nix to / before go forward to rebuild the directory layout? | 12:58:43 |
@shinri:zince.net | * Hi. I'm shifting to tmpfs root with disko configuring my disk partition ( my conf here: https://git.sr.ht/~zincentimeter/nix-conf/tree/main/item/system/disko.nix ). How can I mount it as /nix and left all directories except /nix/* to be on tmpfs? Should I move all the existing files of /nix to / before go forward to rebuild the directory layout? | 12:59:31 |
| 21 Aug 2024 |
matthewcroughan | Redacted or Malformed Event | 16:56:45 |
| egor changed their profile picture. | 17:43:11 |
| 22 Aug 2024 |
| nyanbinary 🏳️⚧️ left the room. | 17:20:34 |
| 23 Aug 2024 |
| @benjaminedwardwebb:envs.net left the room. | 18:57:13 |
| 25 Aug 2024 |
| wieldable9080 changed their display name from wieldable9080 to 🎈 Always hard to find my messages. | 05:22:12 |
| wieldable9080 set a profile picture. | 05:22:36 |
| nbrr joined the room. | 10:34:14 |