git-crypt again

This commit is contained in:
Adithya 2023-08-05 14:04:52 +05:30
parent 65fc4234b4
commit c4a8a32545
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
4 changed files with 2 additions and 24 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
secrets.nix filter=git-crypt diff=git-crypt

View file

@ -34,7 +34,7 @@
lanzaboote,
nixvim,
} @ inputs: let
secrets = import ./secrets-legacy.nix;
secrets = import ./secrets.nix;
in {
formatter."x86_64-linux" = nixpkgs.legacyPackages."x86_64-linux".alejandra;
nixosConfigurations = {

View file

@ -1,23 +0,0 @@
{
aria2_config = {
rpc_secret = "<rpc secret for aria2>";
};
frp_config = {
ip = "<ip addess of server running frps>";
token = "<secret token for frps <-> frpc connection>";
};
caddy_config = {
email = "<email for certificate generation>";
};
users = {
root.hashedPassword = "<password hash of root user>";
primary = {
userName = "<primary non-root username>";
realName = "<primary user's full name>";
hashedPassword = "<password hash of primary user>";
pgpFingerprint = "<primary user's pgp fingerprint>";
emailAddress = "<primary user's email>";
sshPublicKey = "<ssh public key>";
};
};
}

BIN
secrets.nix Normal file

Binary file not shown.