!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

73 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5123 Servers

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


SenderMessageTime
15 Jun 2023
@uep:matrix.org@uep:matrix.org

somewhere in here:


  datasetToPool = x: elemAt (splitString "/" x) 0;

  fsToPool = fs: datasetToPool fs.device;

  zfsFilesystems = filter (x: x.fsType == "zfs") config.system.build.fileSystems;

  allPools = unique ((map fsToPool zfsFilesystems) ++ cfgZfs.extraPools);

  rootPools = unique (map fsToPool (filter fsNeededForBoot zfsFilesystems));

16:22:40
@uep:matrix.org@uep:matrix.orgor, misplaced in the thing that creates the import service, I guess16:23:00
@uep:matrix.org@uep:matrix.org * or, misplaced in the thing that creates the import service, just below, I guess16:23:08
@elvishjerricco:matrix.org@elvishjerricco:matrix.org I'd just add a NixOS style assertion like assertions = [{ assertion = !(elem "" allPools); message = "pls no"; }] 16:24:53
@uep:matrix.org@uep:matrix.orgwell, that will fail but not helpfully?16:26:15
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI mean failure is the only useful outcome16:26:31
@uep:matrix.org@uep:matrix.orgbut yes, it does fit there16:26:33

Show newer messages


Back to Room ListRoom Version: 6