!oNSIfazDqEcwhcOjSL:matrix.org

disko

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

You have reached the beginning of time (for this room).


SenderMessageTime
25 Jul 2024
@gdarends:matrix.orggdarendsThanks. I'll check it out 14:43:22
26 Jul 2024
@rypervenche:matrix.orgrypervenche joined the room.17:27:17
@rypervenche:matrix.orgrypervenche

While reading the QuickStart for disko, I saw this line:

However, you will need to include the partitioning and formatting configurations that you copied into /tmp/disk-config.nix in your configuration, rather than allowing NixOS to generate information about your file systems.

Is there a reason why one shouldn't just let NixOS generation information about my file systems? I'd like for my installs to be as vanilla as possible (as though they were completely installed manually) so I'm curious what pros and cons there are to just continuing the normal NixOS way

17:29:24
29 Jul 2024
@quentinmit:matrix.orgquentin joined the room.01:56:04
@quentinmit:matrix.orgquentin

I'm trying to set up a ZFS root with disko. Without mountpoint set on the pool, the pool ends up mounted by disko at /mnt/zpool. So I set rootFsOptions.mountpoint = "/" which made the installer environment happy, but now the stage1 is failing with

mounting zpool on /...
stage 2 init script (/mnt-root//nix/store/...) not found
02:00:13
@quentinmit:matrix.orgquentin I'm guessing that means that the pool was supposed to mount at /mnt-root instead of /? How should I set the mountpoint options in disko to achieve that? 02:00:41
31 Jul 2024
@bashfulrobot.:matrix.orgbashfulrobotQq. Do I have to add disko to my config? Or can I just write a nix file and run against it? Then run nix-install and leverage what it created?03:10:59
@matthewcroughan:defenestrate.itmatthewcroughan
In reply to @bashfulrobot.:matrix.org
Qq. Do I have to add disko to my config? Or can I just write a nix file and run against it? Then run nix-install and leverage what it created?
You can do either, but it's much nicer if it's in your config, since then you'll get things mounted automatically based on your disko config
03:24:08

Show newer messages


Back to Room ListRoom Version: 10