Skip to content

Failed assertion from 'boot.initrd.postResumeCommands' #320

@Expressive-Synapse

Description

@Expressive-Synapse

Hello, Ive been using a btfs impermanence setup like whats shown in the readme for a few years now, but recently I tried to update my flake and got the follow error


error:
       Failed assertions:
       - systemd stage 1 does not support `boot.initrd.postResumeCommands`. Instead, create systemd services using the `boot.initrd.systemd.services` options, which has an API matching the stage 2 `systemd.services` options. Refer to `bootup(7)`, specifically the sections on "Bootup in the Initrd" and "System Manager Bootup", for information about when various units happen, and order services accordingly.

           Definitions:
           - /nix/store/94mak8iycx0l1clnnn1f0dxfg5l8gplq-source/hosts/Titanic/configuration.nix
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '/persist/NixOSDots#nixosConfigurations."Titanic".config.system.build.toplevel' --no-link' returned non-zero exit status 1.
[ble: exit 1]

Im afraid im not knowledgeable enough to properly fix this issue myself. Does anyone know what to do to resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions