lix nixos module fails to build when bootstrapping from ubuntu #1182

Open
opened 2026-04-12 10:00:03 +00:00 by troykomodo · 0 comments

Describe the bug

I have a ubuntu live cd where i clone my dotfiles and then configure my drive structure and run the nixos install, before when i was using nix (not lix) i would install the nix daemon and configure it to enable flakes and nix-command. Now with lix i install lix via

curl -sSf -L https://install.lix.systems/lix | sh -s -- install

and then run nixos-install --flake .#<name>

this fails eventually https://haste.potat.app/ef2d.apache

If i install nixos first and rebuild using my flake everything works as expected.

to use lix i install it via

modules = [ lix-module.nixosModules.default ]

Steps To Reproduce

  1. Have a empty system.
  2. Run ubuntu live cd
  3. Download lix
  4. try build a nixos system with the lix nixos module.

Expected behavior

Build to work from boostrap and rebuilds.

nix --version output

    "lix": {
      "flake": false,
      "locked": {
        "lastModified": 1775619372,
        "narHash": "sha256-bONRPjhk5OZdnkQZexZNJzlvwIPg31Gy7fNiwGoX3BQ=",
        "owner": "lix-project",
        "repo": "lix",
        "rev": "bc9fb560ac2d36cd317a856ee96785ea2055fbff",
        "type": "github"
      },
      "original": {
        "owner": "lix-project",
        "repo": "lix",
        "type": "github"
      }
    },
    "lix-module": {
      "inputs": {
        "flake-utils": "flake-utils",
        "flakey-profile": "flakey-profile",
        "lix": [
          "lix"
        ],
        "nixpkgs": [
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1773460763,
        "narHash": "sha256-y9kC3ff89btXS8RD6pAtM50g0qtsim1I8HXBtgSqdbI=",
        "ref": "refs/heads/main",
        "rev": "5e56f5a973e24292b125dca9e9d506b0a91d6903",
        "revCount": 180,
        "type": "git",
        "url": "https://git.lix.systems/lix-project/nixos-module"
      },
      "original": {
        "type": "git",
        "url": "https://git.lix.systems/lix-project/nixos-module"
      }
    },

flake is pinned to to this and the bootstrap version of lix is 2.95.1 (one building the nixos system)

Additional context

Add any other context about the problem here.

## Describe the bug I have a ubuntu live cd where i clone my dotfiles and then configure my drive structure and run the nixos install, before when i was using nix (not lix) i would install the nix daemon and configure it to enable flakes and nix-command. Now with lix i install lix via ``` curl -sSf -L https://install.lix.systems/lix | sh -s -- install ``` and then run `nixos-install --flake .#<name>` this fails eventually https://haste.potat.app/ef2d.apache If i install nixos first and rebuild using my flake everything works as expected. to use lix i install it via ``` modules = [ lix-module.nixosModules.default ] ``` ## Steps To Reproduce 1. Have a empty system. 2. Run ubuntu live cd 3. Download lix 4. try build a nixos system with the lix nixos module. ## Expected behavior Build to work from boostrap and rebuilds. ## `nix --version` output ``` "lix": { "flake": false, "locked": { "lastModified": 1775619372, "narHash": "sha256-bONRPjhk5OZdnkQZexZNJzlvwIPg31Gy7fNiwGoX3BQ=", "owner": "lix-project", "repo": "lix", "rev": "bc9fb560ac2d36cd317a856ee96785ea2055fbff", "type": "github" }, "original": { "owner": "lix-project", "repo": "lix", "type": "github" } }, "lix-module": { "inputs": { "flake-utils": "flake-utils", "flakey-profile": "flakey-profile", "lix": [ "lix" ], "nixpkgs": [ "nixpkgs" ] }, "locked": { "lastModified": 1773460763, "narHash": "sha256-y9kC3ff89btXS8RD6pAtM50g0qtsim1I8HXBtgSqdbI=", "ref": "refs/heads/main", "rev": "5e56f5a973e24292b125dca9e9d506b0a91d6903", "revCount": 180, "type": "git", "url": "https://git.lix.systems/lix-project/nixos-module" }, "original": { "type": "git", "url": "https://git.lix.systems/lix-project/nixos-module" } }, ``` flake is pinned to to this and the bootstrap version of lix is `2.95.1` (one building the nixos system) ## Additional context Add any other context about the problem here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1182
No description provided.