From c56bc1d596762f01da1d2ae4e9bb24db9f100493 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 18 Feb 2026 10:25:18 -0800 Subject: [PATCH] Fix flake-lock: enable experimental features, update lockfile The nixos/nix container doesn't have flakes enabled by default. Pass --extra-experimental-features flag. Also commit the updated flake.lock with home-manager input resolved via Dagger. Co-Authored-By: Claude Opus 4.6 --- .dagger/src/blumeops_ci/main.py | 11 ++++++++++- nixos/ringtail/flake.lock | 22 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/.dagger/src/blumeops_ci/main.py b/.dagger/src/blumeops_ci/main.py index 4410f30..b14057a 100644 --- a/.dagger/src/blumeops_ci/main.py +++ b/.dagger/src/blumeops_ci/main.py @@ -80,6 +80,15 @@ class BlumeopsCi: .from_(NIX_IMAGE) .with_directory("/workspace", src) .with_workdir(f"/workspace/{flake_path}") - .with_exec(["nix", "flake", "lock", "--accept-flake-config"]) + .with_exec( + [ + "nix", + "--extra-experimental-features", + "nix-command flakes", + "flake", + "lock", + "--accept-flake-config", + ] + ) .file(f"/workspace/{flake_path}/flake.lock") ) diff --git a/nixos/ringtail/flake.lock b/nixos/ringtail/flake.lock index d5ba048..2cd5e75 100644 --- a/nixos/ringtail/flake.lock +++ b/nixos/ringtail/flake.lock @@ -20,6 +20,27 @@ "type": "github" } }, + "home-manager": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1770260404, + "narHash": "sha256-3iVX1+7YUIt23hBx1WZsUllhbmP2EnXrV8tCRbLxHc8=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "0d782ee42c86b196acff08acfbf41bb7d13eed5b", + "type": "github" + }, + "original": { + "owner": "nix-community", + "ref": "release-25.11", + "repo": "home-manager", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1771208521, @@ -39,6 +60,7 @@ "root": { "inputs": { "disko": "disko", + "home-manager": "home-manager", "nixpkgs": "nixpkgs" } }