move nixops4 to overlay

This commit is contained in:
Kiara Grouwstra 2025-06-27 14:47:33 +02:00
parent 33bc802c21
commit c532076bc0
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU
2 changed files with 14 additions and 14 deletions

View file

@ -2,7 +2,6 @@
config,
pkgs,
lib,
inputs,
...
}:
let
@ -148,19 +147,7 @@ in
NixOps4 from the package's npins-based code, we will have to do with
this workaround.
'';
default =
let
sources = import ../../npins;
inherit (import sources.flake-inputs) import-flake load-flake;
inherit
(import-flake {
src = ../../.;
})
inputs
;
inherit (inputs) nixops4;
in
(load-flake nixops4).packages.${pkgs.system}.default;
default = pkgs.nixops4;
};
deployment = {

View file

@ -8,4 +8,17 @@ let
in
{
python3 = prev.lib.attrsets.recursiveUpdate prev.python3 { pkgs = extraPython3Packages; };
nixops4 =
let
sources = import ../../npins;
inherit (import sources.flake-inputs) import-flake load-flake;
inherit
(import-flake {
src = ../../.;
})
inputs
;
inherit (inputs) nixops4;
in
(load-flake nixops4).packages.${prev.system}.default;
}