Compare commits

..

3 commits

8 changed files with 8 additions and 20 deletions

View file

@ -25,13 +25,13 @@ jobs:
runs-on: native runs-on: native
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: nix-build services -A tests.peertube - run: cd services && nix-build -A tests.peertube
check-panel: check-panel:
runs-on: native runs-on: native
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: nix-build panel -A tests - run: cd panel && nix-build -A tests
check-deployment-basic: check-deployment-basic:
runs-on: native runs-on: native

View file

@ -155,6 +155,7 @@ in
SECRET_KEY = dummyFile; SECRET_KEY = dummyFile;
}; };
port = panelPort; port = panelPort;
nixops4Package = inputs.nixops4.packages.${pkgs.system}.default;
deployment = { deployment = {
flake = "/run/fedipanel/flake"; flake = "/run/fedipanel/flake";

View file

@ -43,7 +43,7 @@
]; ];
imports = [ imports = [
"${git-hooks}/flake-module.nix" (import "${git-hooks}/flake-module.nix")
inputs.nixops4.modules.flake.default inputs.nixops4.modules.flake.default
./deployment/flake-part.nix ./deployment/flake-part.nix

View file

@ -36,8 +36,8 @@ in
## should go into the `./nixos` subdirectory. ## should go into the `./nixos` subdirectory.
nixos.module = { nixos.module = {
imports = [ imports = [
"${agenix}/modules/age.nix" (import "${agenix}/modules/age.nix")
"${disko}/module.nix" (import "${disko}/module.nix")
./options.nix ./options.nix
./nixos ./nixos
]; ];

View file

@ -22,7 +22,7 @@ in
manage manage
# NixOps4 and its dependencies # NixOps4 and its dependencies
pkgs.nixops4 # FIXME: grab NixOps4 and add it here
pkgs.nix pkgs.nix
pkgs.openssh pkgs.openssh
]; ];

View file

@ -147,7 +147,6 @@ in
NixOps4 from the package's npins-based code, we will have to do with NixOps4 from the package's npins-based code, we will have to do with
this workaround. this workaround.
''; '';
default = pkgs.nixops4;
}; };
deployment = { deployment = {

View file

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

View file

@ -13,6 +13,7 @@ let
secrets = { secrets = {
SECRET_KEY = pkgs.writeText "SECRET_KEY" "secret"; SECRET_KEY = pkgs.writeText "SECRET_KEY" "secret";
}; };
nixops4Package = pkgs.hello; # FIXME: actually pass NixOps4
}; };
virtualisation = { virtualisation = {