Compare commits
No commits in common. "73229df4e458a63ec8cff3dc50938614d40ca337" and "2c3032c64291b23aaa30c0ade9c26aea3b32fe02" have entirely different histories.
73229df4e4
...
2c3032c642
4
.git-crypt/.gitattributes
vendored
Normal file
4
.git-crypt/.gitattributes
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Do not edit this file. To specify the files to encrypt, create your own
|
||||||
|
# .gitattributes file in the directory where your files are.
|
||||||
|
* !filter !diff
|
||||||
|
*.gpg binary
|
Binary file not shown.
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
secrets/**/*.secret filter=git-crypt diff=git-crypt
|
||||||
|
secrets/matrix-email-config.nix filter=git-crypt diff=git-crypt
|
||||||
|
home/secrets/*.secret filter=git-crypt diff=git-crypt
|
|
@ -10,6 +10,9 @@
|
||||||
# Service definitions
|
# Service definitions
|
||||||
./services
|
./services
|
||||||
|
|
||||||
|
# Configuration secrets
|
||||||
|
./secrets
|
||||||
|
|
||||||
# Host-specific config
|
# Host-specific config
|
||||||
./hosts/boreal
|
./hosts/boreal
|
||||||
];
|
];
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
# Service definitions
|
# Service definitions
|
||||||
./services
|
./services
|
||||||
|
|
||||||
|
# Configuration secrets
|
||||||
|
./secrets
|
||||||
|
|
||||||
# Host-specific config
|
# Host-specific config
|
||||||
./hosts/poseidon
|
./hosts/poseidon
|
||||||
];
|
];
|
||||||
|
|
14
secrets/default.nix
Normal file
14
secrets/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ pkgs, lib, config, ... }:
|
||||||
|
let
|
||||||
|
inherit (lib)
|
||||||
|
fileContents
|
||||||
|
mkOption
|
||||||
|
;
|
||||||
|
in {
|
||||||
|
options.my.secrets = let inherit (lib) types; in mkOption {
|
||||||
|
type = types.attrs;
|
||||||
|
};
|
||||||
|
|
||||||
|
config.my.secrets = {
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue