nixos-config/secrets/default.nix

22 lines
918 B
Nix
Raw Normal View History

2021-02-22 18:59:37 +01:00
{ pkgs, lib, config, ... }:
2021-02-14 13:42:43 +01:00
with lib;
{
options.my.secrets = mkOption {
type = types.attrs;
};
config.my.secrets = {
matrix-registration-shared-secret = lib.fileContents ./matrix-registration-shared-secret.secret;
shadow-hashed-password-alarsyo = lib.fileContents ./shadow-hashed-password-alarsyo.secret;
shadow-hashed-password-root = lib.fileContents ./shadow-hashed-password-root.secret;
miniflux-admin-credentials = lib.fileContents ./miniflux-admin-credentials.secret;
borg-backup-repo = lib.fileContents ./borg-backup-repo.secret;
2021-02-19 22:29:04 +01:00
transmission-password = lib.fileContents ./transmission.secret;
2021-03-23 19:31:59 +01:00
nextcloud-admin-pass = lib.fileContents ./nextcloud-admin-pass.secret;
nextcloud-admin-user = lib.fileContents ./nextcloud-admin-user.secret;
2021-04-08 02:19:54 +02:00
lohr-shared-secret = lib.fileContents ./lohr-shared-secret.secret;
2021-02-22 18:59:37 +01:00
wireguard = pkgs.callPackage ./wireguard.nix { };
2021-02-14 13:42:43 +01:00
};
}