diff --git a/.forgejo/workflows/update.yaml b/.forgejo/workflows/update.yaml index ac9a17f4..3daf76a2 100644 --- a/.forgejo/workflows/update.yaml +++ b/.forgejo/workflows/update.yaml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Install npins + - name: Update dependencies run: nix-shell --run "npins update" - name: Create PR uses: peter-evans/create-pull-request@v7 diff --git a/infra/common/nixos/default.nix b/infra/common/nixos/default.nix index b870ab03..3467b818 100644 --- a/infra/common/nixos/default.nix +++ b/infra/common/nixos/default.nix @@ -2,6 +2,7 @@ let inherit (lib) mkDefault; + sources = import ../../../npins; in { @@ -22,4 +23,6 @@ in nix.extraOptions = '' experimental-features = nix-command flakes ''; + + nix.nixPath = lib.mapAttrsToList (k: v: k + "=" + v) sources; }