From c4a8a325458529c203b8f65918f165399beb2f96 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 5 Aug 2023 14:04:52 +0530 Subject: [PATCH] git-crypt again --- .gitattributes | 1 + flake.nix | 2 +- secrets-legacy.nix | 23 ----------------------- secrets.nix | Bin 0 -> 1502 bytes 4 files changed, 2 insertions(+), 24 deletions(-) create mode 100644 .gitattributes delete mode 100644 secrets-legacy.nix create mode 100644 secrets.nix diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f0bd4f3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +secrets.nix filter=git-crypt diff=git-crypt diff --git a/flake.nix b/flake.nix index ffcce7b..e3d1f25 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = { diff --git a/secrets-legacy.nix b/secrets-legacy.nix deleted file mode 100644 index 042a4f5..0000000 --- a/secrets-legacy.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ - aria2_config = { - rpc_secret = ""; - }; - frp_config = { - ip = ""; - token = " frpc connection>"; - }; - caddy_config = { - email = ""; - }; - users = { - root.hashedPassword = ""; - primary = { - userName = ""; - realName = ""; - hashedPassword = ""; - pgpFingerprint = ""; - emailAddress = ""; - sshPublicKey = ""; - }; - }; -} diff --git a/secrets.nix b/secrets.nix new file mode 100644 index 0000000000000000000000000000000000000000..7bec92e85bfd7e1333c07bcdd93f1935c6297751 GIT binary patch literal 1502 zcmV<41tIzXM@dveQdv+`0DvR1jFQK>MrIboz!;gLG{y%M@y#2~$d6$T%|c#=y|wBb zuE>^@8;MdyZ&gjiddy1$LZt(a)8)Xuc1UfmmwmpK49_4a#(CeRImKGKS@!UuC9)Z4?*nTK)lfml(WUcuTmsanU!;6(iEWTn(F)YwtvsgaF&~y= zJeB+j$yj_Til?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