Personal NixOS flake

feat: add agenix module

+18 -1
+7 -1
flake.nix
··· 16 }; 17 18 easy-hosts.url = "github:tgirlcloud/easy-hosts"; 19 }; 20 21 - outputs = { self, nixpkgs, home-manager, ... } @ inputs: 22 let 23 system = "x86_64-linux"; 24 #pkgs-unstable = import nixpkgs-unstable {inherit system; config.allowUnfree = true; }; ··· 78 ./home/testificate 79 ]; 80 }) 81 82 ]; 83
··· 16 }; 17 18 easy-hosts.url = "github:tgirlcloud/easy-hosts"; 19 + 20 + agenix.url = "github:ryantm/agenix"; 21 }; 22 23 + outputs = { self, nixpkgs, home-manager, agenix, ... } @ inputs: 24 let 25 system = "x86_64-linux"; 26 #pkgs-unstable = import nixpkgs-unstable {inherit system; config.allowUnfree = true; }; ··· 80 ./home/testificate 81 ]; 82 }) 83 + 84 + agenix.nixosModules.default 85 + 86 + { environment.systemPackages = [ agenix.packages.${system}.default ]; } 87 88 ]; 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 + }