Remove minio and attic

This commit is contained in:
James Eversole 2023-06-26 14:57:56 -05:00
parent 3bcd28ab5d
commit 00bc694fcb
3 changed files with 1 additions and 30 deletions

View File

@ -6,13 +6,9 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.darwin.follows = ""; inputs.darwin.follows = "";
}; };
attic = {
url = "github:zhaofengli/attic";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { self, nixpkgs, agenix, attic, ... }@attrs: outputs = { self, nixpkgs, agenix, ... }@attrs:
let let
containerDef = import ./containers.nix; containerDef = import ./containers.nix;
serviceContainers = containerDef.containers; serviceContainers = containerDef.containers;
@ -42,7 +38,6 @@
imports = [ imports = [
agenix.nixosModules.default agenix.nixosModules.default
attic.nixosModules.atticd
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
@ -76,21 +71,6 @@
enable = true; enable = true;
}; };
atticd = {
enable = true;
credentialsFile =
self.nixosConfigurations.eve-psr-nix0.config.age.secrets.attic_token.path;
settings = {
listen = "0.0.0.0:8040";
chunking = {
nar-size-threshold = 64 * 1024; # 64 KiB
min-size = 16 * 1024; # 16 KiB
avg-size = 64 * 1024; # 64 KiB
max-size = 256 * 1024; # 256 KiB
};
};
};
hydra = { hydra = {
enable = true; enable = true;
hydraURL = "https://hydra.matri.cx"; hydraURL = "https://hydra.matri.cx";
@ -107,13 +87,6 @@
notificationSender = "hydra@matri.cx"; notificationSender = "hydra@matri.cx";
buildMachinesFiles = [ ]; buildMachinesFiles = [ ];
}; };
minio = {
enable = true;
listenAddress = ":9000";
rootCredentialsFile =
self.nixosConfigurations.eve-psr-nix0.config.age.secrets.minio_root.path;
};
}; };
virtualisation = { virtualisation = {
@ -144,9 +117,7 @@
age = { age = {
secrets = { secrets = {
attic_token.file = ./secrets/attic_token.age;
keys.file = ./secrets/keys.age; keys.file = ./secrets/keys.age;
minio_root.file = ./secrets/minio_root.age;
sezycei.file = ./secrets/sezycei.age; sezycei.file = ./secrets/sezycei.age;
}; };
}; };

Binary file not shown.

Binary file not shown.