re-organize configuration
This commit is contained in:
parent
e2456d8019
commit
93f392f37e
12 changed files with 54 additions and 24 deletions
15
secrets/default.nix
Normal file
15
secrets/default.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ lib, config, ... }:
|
||||
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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue