feat: add agenix module

Changed files
+18 -1
secrets
+7 -1
flake.nix
··· 16 16 }; 17 17 18 18 easy-hosts.url = "github:tgirlcloud/easy-hosts"; 19 + 20 + agenix.url = "github:ryantm/agenix"; 19 21 }; 20 22 21 - outputs = { self, nixpkgs, home-manager, ... } @ inputs: 23 + outputs = { self, nixpkgs, home-manager, agenix, ... } @ inputs: 22 24 let 23 25 system = "x86_64-linux"; 24 26 #pkgs-unstable = import nixpkgs-unstable {inherit system; config.allowUnfree = true; }; ··· 78 80 ./home/testificate 79 81 ]; 80 82 }) 83 + 84 + agenix.nixosModules.default 85 + 86 + { environment.systemPackages = [ agenix.packages.${system}.default ]; } 81 87 82 88 ]; 83 89
+11
secrets/secrets.nix
··· 1 + let 2 + emily = ""; 3 + users = [ emily ]; 4 + 5 + emerald = ""; 6 + quartz = ""; 7 + systems = ""; 8 + in 9 + { 10 + "secret1.age".publicKeys = users ++ systems; 11 + }