Set up agenix for secrets management

This commit is contained in:
Katherina Walshe-Grey 2024-06-18 14:20:45 +01:00
parent 45e857747d
commit 6bf38b7814
4 changed files with 29 additions and 2 deletions

View file

@ -1,13 +1,19 @@
{ name, nodes, config, lib, pkgs, ... }:
{
let sources = import ../npins;
in {
deployment = {
allowLocalDeployment = true;
targetHost = null;
tags = [ "local" ];
};
nixpkgs.config.packageOverrides = pkgs: {
agenix = (import "${sources.agenix}" { inherit pkgs; }).agenix;
};
environment.systemPackages = with pkgs; [
agenix
colmena
npins
];