!oNSIfazDqEcwhcOjSL:matrix.org

disko

364 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko92 Servers

Load older messages


SenderMessageTime
2 Feb 2025
@nezia:matrix.org@nezia:matrix.org joined the room.12:11:59
@nezia:matrix.org@nezia:matrix.org

hey, i was planning to add disko to my existing configuration, but i was wondering about something: does the declarative partitioning only work when installing the configuration or will it repartition automatically when running nixos-rebuild switch?

12:12:34
@lassulus:lassul.uslassulusOnly when installing. But we added support to run the format script manually. But its not very thoroughly tested12:53:47
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds to pbsds (FOSDEM).16:04:33
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk
In reply to @lassulus:lassul.us
Only when installing. But we added support to run the format script manually. But its not very thoroughly tested
Maybe you need an FAQ entry for this, seems a commonly asked question (which I also had)
16:39:53
3 Feb 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan (FOSDEM) to matthewcroughan.09:09:56
@gregorburger:matrix.orgGregor Burger joined the room.12:30:34
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds (FOSDEM) to pbsds.16:25:01
@nurrng:matrix.orgElliott joined the room.21:02:47
@nurrng:matrix.orgElliott is parted --align=optimal supported? 21:03:16
4 Feb 2025
@lassulus:lassul.uslassulusParted in Disko is only used in the deprecated table type. So not reaoluly supported01:52:14
@lukts30:matrix.orglukts30 joined the room.12:58:29
@nurrng:matrix.orgElliott I see. I was looking at the table.nix documentation but I'm actually using a gpt table. 19:36:14
@nurrng:matrix.orgElliott * I see. I was looking at the table.nix documentation but I'm actually using a gpt type. 19:36:21
@nurrng:matrix.orgElliott So, I'm trying to migrate my setup to disko and in my documentation I have used parted --align=optimal how would I do the equivalent in disko using sgdisk. 19:37:41
@nurrng:matrix.orgElliott * So, I'm trying to migrate my setup to disko and in my documentation I have used parted --align=optimal how would I do the equivalent in disko using sgdisk? 19:55:18
5 Feb 2025
@singest:matrix.orgSingest joined the room.15:43:15
6 Feb 2025
@nurrng:matrix.orgElliott After some research I think sgdisk tried to align optimally by default. 16:21:19
@waltmck:matrix.orgwaltmck

As of today I am no longer able to nixos-rebuild switch nor nixos-rebuild boot; both fail with the following error:

> Adding configuration to bootloader
Traceback (most recent call last):
  File "/nix/store/kpz0g2v49frpn640snk0ahai4sjng8yh-systemd-boot/bin/systemd-boot", line 431, in <module>
    main()
  File "/nix/store/kpz0g2v49frpn640snk0ahai4sjng8yh-systemd-boot/bin/systemd-boot", line 414, in main
    install_bootloader(args)
  File "/nix/store/kpz0g2v49frpn640snk0ahai4sjng8yh-systemd-boot/bin/systemd-boot", line 338, in install_bootloader
    raise Exception("could not find any previously installed systemd-boot")
Exception: could not find any previously installed systemd-boot
Failed to install bootloader

Any idea what could be causing this? My last change was something completely unrelated to booting (neovim configuration), so this issue appeared out of nowhere just today. My config is here

22:03:49
@waltmck:matrix.orgwaltmck oh wait, I think I might know what the problem is. I set SYSTEMD_COLORS=1 which I think breaks the parsing of bootctl's output 22:05:42
@waltmck:matrix.orgwaltmckyep that was it22:10:23
@waltmck:matrix.orgwaltmckok easy problem resolution lol22:10:30
7 Feb 2025
@ian:rainingmessages.devian joined the room.14:53:24
@brian:bmcgee.ie@brian:bmcgee.iein nixos vm tests is there a way to force the disk uuid to be the same/consistent?15:12:15
8 Feb 2025
@terrorjack:matrix.orgterrorjack joined the room.01:22:28
@lassulus:lassul.uslassulusyou can set the uuids now in the config, maybe that is sufficient?01:49:21
@terrorjack:matrix.orgterrorjack set a profile picture.02:24:27
@terrorjack:matrix.orgterrorjack removed their profile picture.02:25:02
@therajesq:matrix.orgZamyatin joined the room.23:52:02
9 Feb 2025
@projectinitiative:matrix.orgprojectinitiative joined the room.04:00:12

Show newer messages


Back to Room ListRoom Version: 10