| 18 Jul 2024 |
| @jappie3:matrix.org joined the room. | 16:04:29 |
@jappie3:matrix.org | 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 | You only need to set fileSystems to file systems you don't configure with disko. | 18:39:43 |
@kranzes:matrix.org | I think this will probably boot fine, works case you go to back to older generation | 18:40:20 |
@jappie3:matrix.org | 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 | Only 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 | in theory yes, you just have to run the formatScript instead of the diskoScript | 14:09:20 |
waltmck | What is the formatScript and the diskoScript? Is there a man page or something where I can read about this? | 15:29:37 |
lassulus | they are available as outputs of your system derivation is config.system.build.formatScript | 16:01:42 |
lassulus | or diskoScript | 16:01:45 |
| C-word joined the room. | 17:44:51 |
C-word | Hi all! What is the difference and relationship between content.swap and content.subvolumes."/swap", | 17:55:01 |
C-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 |