feat: enable hydra

This commit is contained in:
Noa Aarts 2024-08-30 20:13:16 +02:00
parent 9e9130c05e
commit 1de7b13e56
Signed by: noa
GPG key ID: 1850932741EFF672
2 changed files with 22 additions and 13 deletions

View file

@ -93,5 +93,9 @@
nixosModules = { nixosModules = {
automapaper = ./modules/automapaper; automapaper = ./modules/automapaper;
}; };
hydraJobs = {
inherit (self)
nixosConfigurations;
};
}; };
} }

View file

@ -81,19 +81,7 @@
# }; # };
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services = { services = { };
openssh = {
enable = true;
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
nix-serve = {
enable = true;
secretKeyFile = "/var/cache-priv-key.pem";
bindAddress = "127.0.0.1";
port = 22332;
};
};
programs.zsh.enable = true; programs.zsh.enable = true;
@ -157,6 +145,23 @@
}; };
services = { services = {
openssh = {
enable = true;
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
nix-serve = {
enable = true;
secretKeyFile = "/var/cache-priv-key.pem";
bindAddress = "127.0.0.1";
port = 22332;
};
hydra = {
enable = true;
hydraURL = "http://localhost:3000";
buildMachinesFiles = [ ];
useSubstitutes = true;
};
nginx = nginx =
let let