Add iso jobs

This commit is contained in:
Sandro - 2023-05-20 01:53:53 +02:00
parent 611d07108f
commit 7fcecd0d4f
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 22 additions and 3 deletions

View File

@ -182,7 +182,7 @@
# Required for deployment and sops
enable = true;
passwordAuthentication = lib.mkIf (!config.c3d2.k-ot.enable) false;
permitRootLogin = "prohibit-password";
permitRootLogin = lib.mkOverride 900 "prohibit-password";
};
portunus = with zentralwerk.lib.config.site.net.serv; {

View File

@ -414,6 +414,22 @@
];
};
iso = nixosSystem' {
modules = [
({ modulesPath, ... }: {
imports = lib.singleton "${modulesPath}/installer/cd-dvd/installation-cd-graphical-calamares-plasma5.nix";
})
];
};
iso-minimal = nixosSystem' {
modules = [
({ modulesPath, ... }: {
imports = lib.singleton "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix";
})
];
};
jabber = nixosSystem' {
modules = [
{
@ -780,9 +796,12 @@
hydraJobs =
lib.mapAttrs (_: nixos.lib.hydraJob) (
let
getBuildEntryPoint = _: nixosSystem:
getBuildEntryPoint = name: nixosSystem:
let
cfg = nixosSystem.config.microvm.declaredRunner or nixosSystem.config.system.build.toplevel;
cfg = if (lib.hasPrefix "iso" name) then
nixosSystem.config.system.build.isoImage
else
nixosSystem.config.microvm.declaredRunner or nixosSystem.config.system.build.toplevel;
in
if nixosSystem.config.nixpkgs.system == "aarch64-linux" then
# increase timeout for chromium