!oNSIfazDqEcwhcOjSL:matrix.org

disko

366 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko95 Servers

Load older messages


SenderMessageTime
18 Jul 2024
@matthewcroughan:defenestrate.itmatthewcroughan lassulus: thank you! When disko eventually updates nixpkgs then my make-disk-image change can be merged 14:27:28
@jappie3:matrix.orgjappie3 joined the room.16:04:29
@jappie3:matrix.orgjappie3

Trying to use nixos-anywhere w/ disko, I'm not sure if I should set the fileSystems option, it seems to be conflicting:

       error: The option `fileSystems."/".device' has conflicting definition values:
       - In `/nix/store/463857glrx0bis2n6qdxkhi5ffrbsdf2-source/hosts/hostname': "/dev/disk/by-label/NIXROOT"
       - In `/nix/store/2fz2xdigfyy41kjiw4rci1jxf0avbp72-source/module.nix': "/dev/disk/by-partlabel/NIXROOT"
       Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.

Should I use lib.mkForce or omit it in the host's config? I'm afraid that omitting it will render the system unbootable after a regular (non-nixos-anywhere) rebuild...

18:33:39
@kranzes:matrix.org@kranzes:matrix.orgYou only need to set fileSystems to file systems you don't configure with disko.18:39:43
@kranzes:matrix.org@kranzes:matrix.orgI think this will probably boot fine, works case you go to back to older generation 18:40:20
@jappie3:matrix.orgjappie3
In reply to @kranzes:matrix.org
You only need to set fileSystems to file systems you don't configure with disko.
okay, thanks for the info ^^
19:14:08
21 Jul 2024
@waltmck:matrix.orgwaltmckOnly asking because I can't find documentation: is it possible to configure zfs options (e.g. dedup, compression) with disko, without having to re-format the partition?12:45:25
@lassulus:lassul.uslassulusin theory yes, you just have to run the formatScript instead of the diskoScript14:09:20
@waltmck:matrix.orgwaltmckWhat is the formatScript and the diskoScript? Is there a man page or something where I can read about this?15:29:37
@lassulus:lassul.uslassulusthey are available as outputs of your system derivation is config.system.build.formatScript16:01:42
@lassulus:lassul.uslassulusor diskoScript16:01:45
@curious-r:matrix.orgC-word joined the room.17:44:51
@curious-r:matrix.orgC-word Hi all! What is the difference and relationship between content.swap and content.subvolumes."/swap", 17:55:01
@curious-r:matrix.orgC-word Hi all! What is the difference and relationship between content.swap and content.subvolumes."/swap", do these need to be configured both? 17:56:13
@curious-r:matrix.orgC-wordhttps://github.com/nix-community/disko/blob/bec6e3cde912b8acb915fecdc509eda7c973fb42/example/btrfs-subvolumes.nix#L6017:56:24
@lassulus:lassul.uslassulusthe first is for swap on the btrfs root device, the other one puts the swap on a subvolume, you only need one of those17:57:59
@curious-r:matrix.orgC-wordThank you!17:59:25
@adzuki:matrix.orgadzukiHello, does encrypted swap necessarily break hibernation or is there a workaround?22:29:14
@hexa:lossy.networkhexait does, because the encryption key is not remembered23:32:42
@hexa:lossy.networkhexaat least if you do random encryption23:32:53
22 Jul 2024
@bashfulrobot.:matrix.orgbashfulrobot joined the room.17:17:39
@min:min.rip@min:min.rip left the room.21:25:55
23 Jul 2024
@ezzobirbezziou:matrix.orgEzzobir Bezziou joined the room.08:23:20
25 Jul 2024
@bumperboat:matrix.orgbumperboat (UTC+2) changed their display name from bumperboat (UTC+2) to bumperboat.12:47:27
@gdarends:matrix.orggdarends joined the room.13:17:11
@gdarends:matrix.orggdarendsHi there. I'm using disko currently and I want to switch my partitioning to LUKS with Yubikey FIDO2. It doesn't seem like this is supported yet. Do I need to stop using disko altogether or is there a stopgap solution?13:21:03
@lassulus:lassul.uslassulusprobably it can be setup with hooks, not sure how though13:24:54
@gdarends:matrix.orggdarendshttps://github.com/moleculezz/nixos-config/blob/80a9d5fc7db228d61f6ecb0ef3cce63e394427d4/hosts/gnix/disk-configuration.nix13:24:59
@gdarends:matrix.orggdarendsThis is my current config. But I wanna move away from ZFS encryption because of the issues related with it.13:25:48
@gdarends:matrix.orggdarendsWhat are hooks? Where can I read about it?13:26:40

Show newer messages


Back to Room ListRoom Version: 10