summaryrefslogtreecommitdiff
path: root/modules/secrets.nix
blob: d0273390e45381fae0e9b878337fb9d087ec863e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, lib, pkgs, ... }:

let
  cfg = config.orbekk.secrets;
in
{
  options = {
    orbekk.secrets = {
      enable = lib.mkEnableOption "Enable secrets";
    };
  };

  config = lib.mkIf cfg.enable {
    environment.systemPackages = [ pkgs.agenix ];
  };
}