| 20 Mar 2024 |
matthewcroughan | https://github.com/MatthewCroughan/disko-utils/blob/master/flake.nix#L119 | 00:53:39 |
matthewcroughan | tcurdt: here is how I do it | 00:53:50 |
| mannp ⚡️ | 09:28:02 |
tcurdt | In reply to @matthewcroughan:defenestrate.it tcurdt: here is how I do it Super interesting. Thank you!
I am not quite sure how you are using it though. I see installation-cd-base. Do you create an ISO from this to start the install?
| 10:20:11 |
tcurdt | In reply to @matthewcroughan:defenestrate.it tcurdt: here is how I do it * Super interesting. Thank you! | 10:31:16 |
tcurdt | Can you expand on this part though:
Creates a NixOS installer iso that contains the toplevel from the given nixosConfiguration in the closure. This installer will then runs the diskoScript from a given nixosConfiguration on boot, install the toplevel via nixos-install and reboot
This function requires that a disko configuration is already present inside of the given nixosConfiguration.
| 10:34:05 |
tcurdt | You would create the iso, write that on e.g. a usbstick, the system would start, partition and install. | 10:35:41 |
tcurdt | But you would still put the disko config into the nixosConfiguration? | 10:36:53 |
tcurdt | Because here it says otherwise
This function does not require the given nixosConfiguration to have a disko configuration, as it will force an opinionated one in
| 10:39:07 |
bumperboat | Redacted or Malformed Event | 10:49:16 |
| mannp ⚡️ set a profile picture. | 14:24:39 |
matthewcroughan | In reply to @tcurdt:matrix.org But you would still put the disko config into the nixosConfiguration? Yes, you need to do that | 15:57:21 |
matthewcroughan | The mkZfsNuke function doesn't need one, as I append one | 15:57:36 |
| 21 Mar 2024 |
nim65s | Hi ! What do you currently use/recommend for /boot size ? (and maybe separate /boot/efi ?) I can see 500M here: https://github.com/nix-community/disko/blob/master/example/simple-efi.nix, and this is what I currently have on some Arch/Ubuntu, but I recently got issues with that (ubuntu got multiple 175M initrd files, among other things). https://serverfault.com/questions/334663/what-is-the-recommended-size-for-a-linux-boot-partition is not a very good ref, but it at least show that it change a lot over time, and people tend to follow what their distro say. NixOS also seems to provide 512M by default. https://wiki.archlinux.org/title/EFI_system_partition#Create_the_partition says 1 to 4G just to be sure 😅 | 09:38:36 |
SigmaSquadron | 4 gigs for an EFI partition is a lot. I’d go with 1024M at a maximum. | 10:18:50 |
@adam:robins.wtf | 512 is too small in my opinion. I go with 1 or at most 2GB | 10:54:08 |
@adam:robins.wtf | It affects how many generations/kernels you can keep | 10:54:50 |
| NixOS Moderation Botchanged room power levels. | 18:02:41 |
| @grahamc:nixos.org left the room. | 20:08:02 |
| 22 Mar 2024 |
| bumperboat changed their display name from bumperboat to bumperboat (UTC+8 when). | 13:28:10 |
| bumperboat changed their display name from bumperboat (UTC+8 when) to bumperboat (UTC+8). | 15:02:13 |
| 23 Mar 2024 |
| GenericNerdyUsername joined the room. | 13:25:06 |
GenericNerdyUsername | Is there a way I can run a command before a partition is unmounted on shutdown? | 13:26:04 |
@adam:robins.wtf | you can maybe use systemd unit ordering to do so | 13:44:19 |
GenericNerdyUsername | i meant in disko | 13:44:35 |
GenericNerdyUsername | having a preUnmountHook right next to preMountHook would be a lot cleaner than a new systemd unit | 13:45:22 |
lassulus | unmounting is currently not managed by disko | 14:14:09 |
| 26 Mar 2024 |
| cblacktech joined the room. | 02:03:46 |
| 27 Mar 2024 |
| Lillian Violet (She/Fae) joined the room. | 22:27:27 |
| 29 Mar 2024 |
| SebTM joined the room. | 05:40:18 |