!oNSIfazDqEcwhcOjSL:matrix.org

disko

359 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko89 Servers

Load older messages


SenderMessageTime
12 Mar 2024
@joerg:thalheim.ioMic92 raitobezarius: I had to solve a similar issue with disko-install now where disk at install time are different from boot 05:10:34
@joerg:thalheim.ioMic92Disko-install let's you re-assign disks: https://github.com/nix-community/disko/blob/master/docs/disko-install.md05:12:50
@joerg:thalheim.ioMic92Otherwise Disko's image creation Skript will also work.05:17:45
@joerg:thalheim.ioMic92https://github.com/nix-community/disko/blob/master/docs/reference.md#generating-the-raw-vm-image05:18:13
14 Mar 2024
@federicodschonborn:matrix.org@federicodschonborn:matrix.org left the room.02:04:52
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:44:18
16 Mar 2024
@grahamc:nixos.org@grahamc:nixos.org joined the room.00:00:50
17 Mar 2024
@sankaratupi:matrix.orgFelipe Marcelino joined the room.17:59:21
18 Mar 2024
@darkwater4213:matrix.orgdarkwater4213 joined the room.00:42:18
@common0r:matrix.orgcomm0n changed their display name from common0r to common.00:43:19
@common0r:matrix.orgcomm0n changed their profile picture.00:43:23
19 Mar 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.00:29:45
@tcurdt:matrix.orgtcurdt joined the room.15:39:40
@spewdins:beeper.comspewdins joined the room.15:40:07
@mannp:mannuk.rocksmannp ⚡️ joined the room.19:13:12
@tcurdt:matrix.orgtcurdt so, I have run disko ... now I want to try a nixos-install --flake .
for that it seems like I have to add the disko config.
is that really required?
21:08:44
@bumperboat:matrix.orgbumperboatThe disko module configures the mount points (and lvm, luks, etc) in the nixosConfiguration. Otherwise you'll have to do it twice I'd think22:09:14
@bumperboat:matrix.orgbumperboat* The disko module configures the mount points (and lvm, luks, etc) in the nixosConfiguration. Otherwise you'll have to configure it twice I'd think22:10:08
@bumperboat:matrix.orgbumperboat set a profile picture.22:21:01
20 Mar 2024
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/MatthewCroughan/disko-utils/blob/master/flake.nix#L11900:53:39
@matthewcroughan:defenestrate.itmatthewcroughan tcurdt: here is how I do it 00:53:50
@mannp:mannuk.rocksmannp ⚡️ 09:28:02
@tcurdt:matrix.orgtcurdt
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:matrix.orgtcurdt
In reply to @matthewcroughan:defenestrate.it
tcurdt: here is how I do it
* Super interesting. Thank you!
10:31:16
@tcurdt:matrix.orgtcurdt

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:matrix.orgtcurdtYou would create the iso, write that on e.g. a usbstick, the system would start, partition and install.10:35:41
@tcurdt:matrix.orgtcurdtBut you would still put the disko config into the nixosConfiguration?10:36:53
@tcurdt:matrix.orgtcurdt

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:matrix.orgbumperboatRedacted or Malformed Event10:49:16
@mannp:mannuk.rocksmannp ⚡️ set a profile picture.14:24:39

Show newer messages


Back to Room ListRoom Version: 10