diff options
author | Linnnus <[email protected]> | 2023-09-30 12:09:19 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-09-30 12:10:15 +0200 |
commit | 8798940cad00296d3a9e88988e6678eef670d21a (patch) | |
tree | 79a6f92b6ed828c6fa80383c48be6f7a3a8ca8d6 /flake.nix | |
parent | ad288b5c49c7e7323ad11ec2b1320905ba1b8674 (diff) |
Move secret management to agenix
- https://nixos.wiki/wiki/Agenix
- https://github.com/ryantm/agenix
- https://jonascarpay.com/posts/2021-07-27-agenix.html
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -11,9 +11,13 @@ url = "github:LnL7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs"; }; + agenix = { + url = "github:ryantm/agenix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = { self, nixpkgs, home-manager, nix-darwin, ... }@inputs: + outputs = { self, nixpkgs, home-manager, nix-darwin, agenix, ... }@inputs: let args = { inherit self; @@ -33,7 +37,6 @@ ./hosts/common.nix ./home # FIXME: Get the following to work without nix-darwin bithcing about unused NixOS options. - # ./lib # ./modules # ./services ]; @@ -46,10 +49,10 @@ modules = [ { _module.args = args; } home-manager.nixosModules.home-manager + agenix.nixosModules.default ./hosts/ahmed/configuration.nix ./hosts/common.nix ./home - ./lib ./modules ./services ]; |