!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
31 May 2023
@lily:lily.flowers@lily:lily.flowers

If it helps ElvishJerricco, here's json of my config evaluated for boot.initrd.luks.devices:

{
  "nixos": {
    "allowDiscards": false,
    "bypassWorkqueues": false,
    "crypttabExtraOpts": [],
    "device": "/dev/nvme0n1p2",
    "fallbackToPassword": false,
    "fido2": {
      "credential": null,
      "credentials": [],
      "gracePeriod": 10,
      "passwordLess": false
    },
    "gpgCard": null,
    "header": null,
    "keyFile": null,
    "keyFileOffset": null,
    "keyFileSize": null,
    "keyFileTimeout": null,
    "name": "nixos",
    "postOpenCommands": "",
    "preLVM": true,
    "preOpenCommands": "",
    "tryEmptyPassphrase": false,
    "yubikey": null
  }
}

And evaluated fileSystems with x-initrd.mount:

{
  "/": {
    "autoFormat": false,
    "autoResize": false,
    "depends": [],
    "device": "/dev/nixos/root",
    "encrypted": {
      "blkDev": null,
      "enable": false,
      "keyFile": null,
      "label": null
    },
    "formatOptions": "",
    "fsType": "btrfs",
    "label": null,
    "mountPoint": "/",
    "neededForBoot": false,
    "noCheck": false,
    "options": [
      "x-initrd.mount",
      "defaults",
      "subvol=/root"
    ],
    "stratis": {
      "poolUuid": null
    }
  },
  "/nix": {
    "autoFormat": false,
    "autoResize": false,
    "depends": [],
    "device": "/dev/nixos/root",
    "encrypted": {
      "blkDev": null,
      "enable": false,
      "keyFile": null,
      "label": null
    },
    "formatOptions": "",
    "fsType": "btrfs",
    "label": null,
    "mountPoint": "/nix",
    "neededForBoot": false,
    "noCheck": false,
    "options": [
      "x-initrd.mount",
      "defaults",
      "subvol=/nix"
    ],
    "stratis": {
      "poolUuid": null
    }
  },
  "/persist": {
    "autoFormat": false,
    "autoResize": false,
    "depends": [],
    "device": "/dev/nixos/root",
    "encrypted": {
      "blkDev": null,
      "enable": false,
      "keyFile": null,
      "label": null
    },
    "formatOptions": "",
    "fsType": "btrfs",
    "label": null,
    "mountPoint": "/persist",
    "neededForBoot": true,
    "noCheck": false,
    "options": [
      "x-initrd.mount",
      "defaults",
      "subvol=/persist"
    ],
    "stratis": {
      "poolUuid": null
    }
  },
  "/state": {
    "autoFormat": false,
    "autoResize": false,
    "depends": [],
    "device": "/dev/nixos/root",
    "encrypted": {
      "blkDev": null,
      "enable": false,
      "keyFile": null,
      "label": null
    },
    "formatOptions": "",
    "fsType": "btrfs",
    "label": null,
    "mountPoint": "/state",
    "neededForBoot": true,
    "noCheck": false,
    "options": [
      "x-initrd.mount",
      "defaults",
      "subvol=/state"
    ],
    "stratis": {
      "poolUuid": null
    }
  }
}
22:53:29
@lily:lily.flowers@lily:lily.flowers *

If it helps ElvishJerricco, here's json of my config evaluated for boot.initrd.luks.devices:

{
  "nixos": {
    "allowDiscards": false,
    "bypassWorkqueues": false,
    "crypttabExtraOpts": [],
    "device": "/dev/nvme0n1p2",
    "fallbackToPassword": false,
    "fido2": {
      "credential": null,
      "credentials": [],
      "gracePeriod": 10,
      "passwordLess": false
    },
    "gpgCard": null,
    "header": null,
    "keyFile": null,
    "keyFileOffset": null,
    "keyFileSize": null,
    "keyFileTimeout": null,
    "name": "nixos",
    "postOpenCommands": "",
    "preLVM": true,
    "preOpenCommands": "",
    "tryEmptyPassphrase": false,
    "yubikey": null
  }
}

And evaluated fileSystems with x-initrd.mount:

{
  "/": {
    "autoFormat": false,
    "autoResize": false,
    "depends": [],
    "device": "/dev/nixos/root",
    "encrypted": {
      "blkDev": null,
      "enable": false,
      "keyFile": null,
      "label": null
    },
    "formatOptions": "",
    "fsType": "btrfs",
    "label": null,
    "mountPoint": "/",
    "neededForBoot": false,
    "noCheck": false,
    "options": [
      "x-initrd.mount",
      "defaults",
      "subvol=/root"
    ],
    "stratis": {
      "poolUuid": null
    }
  },
  "/nix": {
    "autoFormat": false,
    "autoResize": false,
    "depends": [],
    "device": "/dev/nixos/root",
    "encrypted": {
      "blkDev": null,
      "enable": false,
      "keyFile": null,
      "label": null
    },
    "formatOptions": "",
    "fsType": "btrfs",
    "label": null,
    "mountPoint": "/nix",
    "neededForBoot": false,
    "noCheck": false,
    "options": [
      "x-initrd.mount",
      "defaults",
      "subvol=/nix"
    ],
    "stratis": {
      "poolUuid": null
    }
  },
  "/persist": {
    "autoFormat": false,
    "autoResize": false,
    "depends": [],
    "device": "/dev/nixos/root",
    "encrypted": {
      "blkDev": null,
      "enable": false,
      "keyFile": null,
      "label": null
    },
    "formatOptions": "",
    "fsType": "btrfs",
    "label": null,
    "mountPoint": "/persist",
    "neededForBoot": true,
    "noCheck": false,
    "options": [
      "x-initrd.mount",
      "defaults",
      "subvol=/persist"
    ],
    "stratis": {
      "poolUuid": null
    }
  },
  "/state": {
    "autoFormat": false,
    "autoResize": false,
    "depends": [],
    "device": "/dev/nixos/root",
    "encrypted": {
      "blkDev": null,
      "enable": false,
      "keyFile": null,
      "label": null
    },
    "formatOptions": "",
    "fsType": "btrfs",
    "label": null,
    "mountPoint": "/state",
    "neededForBoot": true,
    "noCheck": false,
    "options": [
      "x-initrd.mount",
      "defaults",
      "subvol=/state"
    ],
    "stratis": {
      "poolUuid": null
    }
  },
  "/var/log": {
    "autoFormat": false,
    "autoResize": false,
    "depends": [
      "/state"
    ],
    "device": "/state/var/log",
    "encrypted": {
      "blkDev": null,
      "enable": false,
      "keyFile": null,
      "label": null
    },
    "formatOptions": "",
    "fsType": "auto",
    "label": null,
    "mountPoint": "/var/log",
    "neededForBoot": false,
    "noCheck": true,
    "options": [
      "x-initrd.mount",
      "bind",
      "x-gvfs-hide"
    ],
    "stratis": {
      "poolUuid": null
    }
  }
}
22:59:26

Show newer messages


Back to Room ListRoom Version: 6