Skip to content

Commit

Permalink
Delete leftover files.
Browse files Browse the repository at this point in the history
  • Loading branch information
plietar committed Oct 24, 2024
1 parent a0d6366 commit 08dc955
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 204 deletions.
50 changes: 0 additions & 50 deletions configuration.nix

This file was deleted.

149 changes: 0 additions & 149 deletions services.nix

This file was deleted.

16 changes: 11 additions & 5 deletions tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,25 @@ pkgs.testers.runNixOSTest {
};
nodes.machine = { lib, config, ... }: {
imports = [
../configuration.nix
../machines/common/configuration.nix
../machines/common/services.nix

# The `virtualisation.vmVariant` setting we use to import VM-specific
# settings doesn't work for the test VMs, so re-import the vm module here.
# https://github.com/NixOS/nixpkgs/pull/339511#issuecomment-2328611982
../vm.nix
];

# Having all the instances running slows down tests. Having just one
# instance is good enough.
services.multi-packit.instances = lib.mkForce [ "reside" ];
services.multi-packit = {
enable = true;
sslCertificate = "/var/secrets/packit.cert";
sslCertificateKey = "/var/secrets/packit.key";
githubOAuthSecret = "/var/secrets/github-oauth";
instances = [ "reside" ];
};

services.packit-api.instances.reside = {
authentication = lib.mkForce {
authentication = {
method = "basic";
service.policies = [{
jwkSetUri = "http://127.0.0.1:81/jwks.json";
Expand Down

0 comments on commit 08dc955

Please sign in to comment.