From 00bc694fcba4d123789bec2b850924226eae5260 Mon Sep 17 00:00:00 2001 From: James Eversole Date: Mon, 26 Jun 2023 14:57:56 -0500 Subject: [PATCH] Remove minio and attic --- flake.nix | 31 +------------------------------ secrets/attic_token.age | Bin 582 -> 0 bytes secrets/minio_root.age | Bin 525 -> 0 bytes 3 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 secrets/attic_token.age delete mode 100644 secrets/minio_root.age diff --git a/flake.nix b/flake.nix index e8f83db..9576ca7 100644 --- a/flake.nix +++ b/flake.nix @@ -6,13 +6,9 @@ inputs.nixpkgs.follows = "nixpkgs"; inputs.darwin.follows = ""; }; - attic = { - url = "github:zhaofengli/attic"; - inputs.nixpkgs.follows = "nixpkgs"; - }; }; - outputs = { self, nixpkgs, agenix, attic, ... }@attrs: + outputs = { self, nixpkgs, agenix, ... }@attrs: let containerDef = import ./containers.nix; serviceContainers = containerDef.containers; @@ -42,7 +38,6 @@ imports = [ agenix.nixosModules.default - attic.nixosModules.atticd ./hardware-configuration.nix ]; @@ -76,21 +71,6 @@ 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 = { enable = true; hydraURL = "https://hydra.matri.cx"; @@ -107,13 +87,6 @@ notificationSender = "hydra@matri.cx"; buildMachinesFiles = [ ]; }; - - minio = { - enable = true; - listenAddress = ":9000"; - rootCredentialsFile = - self.nixosConfigurations.eve-psr-nix0.config.age.secrets.minio_root.path; - }; }; virtualisation = { @@ -144,9 +117,7 @@ age = { secrets = { - attic_token.file = ./secrets/attic_token.age; keys.file = ./secrets/keys.age; - minio_root.file = ./secrets/minio_root.age; sezycei.file = ./secrets/sezycei.age; }; }; diff --git a/secrets/attic_token.age b/secrets/attic_token.age deleted file mode 100644 index 904916a5f11775408267346932f4566b4d90edcf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 582 zcmZ9_L2J`s007YKCg~1iAcBXPi-?ApHf`DzVVbN-+H`5xv`Nz{xHd_@tliQ!Nz*2} zi^@Q82bG~Blg%LrDuO5Vu*(n`p60>9+)Z~FlN|=KArr)_?+?5R&{5q~EwANFHqG-* z3t(;tLPucRHc(x|2_h7SwOlO7cHu&vQB;j(va(nJbxR0)qpeZBW7Ryza4|eQ1=ul* zG6Y}FL9w9hA+jL(lou`YNmp_NP0>)JmMfW7+%7s;kT>!#R$g|MA#}99tO<4E-89_+BOE*`G^S-~HaX@J8FBAI{!5_hI2^jd-=3x#c7` IC!R5X0S8xlWUuoASBH@y`)W=Lv(oavtd9<{~amA~-nc;?3gVV|D-FGd%}#;#pcPRzVWqN>Z;`AOLh1%rYNxY!t(g zE@;a*OqXDu@U0q!J$cGTdzr7pWl^xa<&Yg_CC|csh1<$D&X2i}0{EdhCy+%nW|S`D zjv8o$38mFUj27%oVpY)-ifP2{-$H-k$Y#sgiL6zzscEpgp%SH#qo%!(>0Z<1(X zmu4hs>6IoWP&K~pHynk5*Wu4c=~2^LkLi1T5rrtrV5&T6aI z6Cf{j%*+A9DY@F`K{o=I5+LtzzOSxo6!CXitE26pvlI>uIwBi9QH@v`H?h#tQgV>X zlCW?8g;fqWG^$fe8WA=DNuu4*?^C8z&W8?P2HRw3FwW_?V|MrSf<}!wml0%@NVV-v zk+LrX5Cnm#;O4oJMOw8`brs1xpHKRN#fnPcIs+^ZBu`XZ2`=k(R_m!qw#?>0xr<&Bf4#P=6J4xgQDz3w6F+n