!oNSIfazDqEcwhcOjSL:matrix.org

disko

171 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko55 Servers

Load older messages


SenderMessageTime
17 Jul 2024
@magic_rb:matrix.redalder.orgmagic_rbThats the config for my unfinished ereader05:22:21
@titaniumtown:envs.nettitaniumtown (they/them)great, ty05:22:32
@magic_rb:matrix.redalder.orgmagic_rb https://git.sr.ht/~magic_rb/dotfiles/tree/master/item/nixos/systems/gooseberry/filesystems.nix
And thats my rpi that serves as a ipmi gateway
05:22:49
@magic_rb:matrix.redalder.orgmagic_rbBoth running tmpfs as root05:23:09
@titaniumtown:envs.nettitaniumtown (they/them)ok, interesting.05:24:42
@titaniumtown:envs.nettitaniumtown (they/them)
In reply to@magic_rb:matrix.redalder.org
Both running tmpfs as root
I'll probably end up doing smth similar
05:24:49
@magic_rb:matrix.redalder.orgmagic_rbIt works well and saves the shitty sdcard from any writes05:25:09
@magic_rb:matrix.redalder.orgmagic_rbIve had really really really really bad experiences with sdcards in general, and especially in rpis05:25:31
@magic_rb:matrix.redalder.orgmagic_rbI ran root on nfs for the longest time still with archlinux arm on my octoprint rpi because of that05:25:54
@titaniumtown:envs.nettitaniumtown (they/them) thank you for sharing! @magic_rb
i've had similar experiences lol, really sucks
05:40:03
@magic_rb:matrix.redalder.orgmagic_rbNo worries, happy to help05:40:19
@lys:lys.eeLys joined the room.17:21:42
18 Jul 2024
@joerg:thalheim.ioMic92Don't these new pipes now have support for nvme?09:41:20
@joerg:thalheim.ioMic92 * Don't these new pies now have support for nvme?09:41:31
@matthewcroughan:defenestrate.itmatthewcroughan lassulus: https://github.com/NixOS/nixpkgs/pull/325619 any chance of a merge on this now that it's approved and sitting for a week? 13:26:22
@matthewcroughan:defenestrate.itmatthewcroughanBecause then https://github.com/nix-community/disko/pull/698 can be merged too13:26:28
@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.orgIlan Joselevich (Kranzes)You only need to set fileSystems to file systems you don't configure with disko.18:39:43
@kranzes:matrix.orgIlan Joselevich (Kranzes)I 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

Show newer messages


Back to Room ListRoom Version: 10