From f352ab13b0f01b1a9c42ac12c306ec14508c668f Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 23 Apr 2023 19:10:07 +0530 Subject: [PATCH] move out secrets --- .gitattributes | 2 +- common/users/default.nix | 4 ++-- common/users/user.nix | Bin 1229 -> 0 bytes home/default.nix | 2 +- home/programs/git.nix | 2 +- hosts/skipper/services/default.nix | 4 ++-- secrets.nix | Bin 0 -> 1264 bytes 7 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 common/users/user.nix create mode 100644 secrets.nix diff --git a/.gitattributes b/.gitattributes index 44891c0..f0bd4f3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -common/users/user.nix filter=git-crypt diff=git-crypt +secrets.nix filter=git-crypt diff=git-crypt diff --git a/common/users/default.nix b/common/users/default.nix index 5e81cf6..7b375c3 100644 --- a/common/users/default.nix +++ b/common/users/default.nix @@ -1,6 +1,6 @@ -{ pkgs, ... }: +{ pkgs, secrets, ... }: let - user = import ./user.nix; + user = (import ../../secrets.nix).users; in { users.mutableUsers = false; diff --git a/common/users/user.nix b/common/users/user.nix deleted file mode 100644 index ee5752d42db4a2b0c24e7bfa4a7ba66965d019d4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1229 zcmV;;1Ty;oM@dveQdv+`0OCVOVYzqO&4+q2N+ZVE(EL_};VyGTUFDSUil;9q^+Jpk zb>XF@-@0#D|0+DL+?YW_w$``68{C02V~yS93^*7@lRM9W113?k1;9RF{T~jX6P95$ zd{KkNeK|V5?<`wJzY>*xD@E3VzjOEFaJ18xax4T)R#r=|3s=ED4N%L6H0KMVAmEs1 z5fChszr$@Aje6Z4yS_6Fs;RL{tw>D&K6ZQ%PvE9wUj4Xql%A8lwyi^#3{kytz&R3* zN)xD*;O$=%S_`cxx=evblSYRa)WjJ8yR;0b z=?kQdX3>ZI#3BUHqM|9-dKd7cxHVhGGc@%WSu2YOx8tnc12368^DyStmuunl1M!Nd3!rO#U-+wvh`!k9pUj zrhr;^qivm1Zwv}wrMS@O%5OrJ$vqm&39Dv^*+8w4SM2D}HMd-Y35e~0?>TkI&EDss z#;SnID>`&P2x8QglpfTc-lyNBZXc(AWHX&f3*@w>K7_NB1+WV!MkB7#jWzHgxE=nv3CRVXjopYF4F+7G#o4@iNps?kJY=J@PlDA z*O*pJj%T;5@J_mvK!L`j?Sp5a&7>i*3kxBLa%-YSxEQ-uACpnYcw~{C*e1}KHd+4R z*LS<~^Vy?hK{!bBbq=T46;7Qh zaNh~0CSU4<@pZY>;)%hsAYsE}Sf73`Zt%y0gVjYr+=8XPq8)4Z;GEhha#mM@e^bLT z8fPhLRWk&}4F{co*Hl8HEOOYtXg9xcSXIZxNf5~}wvP{+XZ8-&n4B&0htj1&wpzAU$4NvXOp z{vPcLFsmSrbk7})L}oy?A1?p=lKBOqvue)JjOLK*cEx4USpi^9?C$2y{?~l$$}wmV zd?*l$7z#2#J$H1ZbB)41#$K+>sVvoKnx}F8uJAl8(7UXGnTu2~pNzr~c0{zE2vd)pil-k6D`<;QD0w rnLt$^V&dRgf8B?Qal1^U?6F4F85bYs@k*Omkf^=HNmf|fQ=sUEuGn_l diff --git a/home/default.nix b/home/default.nix index 5c29bd5..7a7b18c 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,6 +1,6 @@ { hyprland, impermanence, nixvim, pkgs, ... }: let - user = import ../users/user.nix; + user = (import ../secrets.nix).users; in { programs.fuse.userAllowOther = true; diff --git a/home/programs/git.nix b/home/programs/git.nix index 30d9a12..22f6c4f 100644 --- a/home/programs/git.nix +++ b/home/programs/git.nix @@ -1,6 +1,6 @@ { ... }: let - user = import ../../users/user.nix; + user = (import ../../secrets.nix).users; in { programs.git = { diff --git a/hosts/skipper/services/default.nix b/hosts/skipper/services/default.nix index 55e3c93..7734cf6 100644 --- a/hosts/skipper/services/default.nix +++ b/hosts/skipper/services/default.nix @@ -1,6 +1,6 @@ -{ pkgs, ... }: +{ pkgs, secrets, ... }: let - user = import ../../../users/user.nix; + user = (import ../../../secrets.nix).users; in { imports = [ diff --git a/secrets.nix b/secrets.nix new file mode 100644 index 0000000000000000000000000000000000000000..ee2ec69294fa814c600fda4b419bef34b125e2fe GIT binary patch literal 1264 zcmVE@tqT^%09(QcUZw-A1ECN zXV!5$I7NQeVYnG4MKo^y8hX3EwQ9k9@JV<~hW<}zMO?PD#P^tcRcQO6%UGvrdkEqv zVZ@zc3qzpmS$eyI3WH}+=iQHO71>V7quOPMN7}2dg5cL3ydR|t53nyFj~KsI3`1fI zLoQ=F8ekU@`89={ED0W^`AFn{zOQ4i4a&{N#q6Q&$xrG$@XcmsZxn01l&S$)MX035 zs@>v{s>bB3wvCiWxoY(I%+ig>79(6gE*6JvDn-hqqOV#7rk3j&#*a*uLnqTZ{7Xou5dz0{@W`VtVk z)Wvg6!Ca|Ur@+mc7q(4ckU_5-_%30f`(C#}(I_%|LIqGcUOjA*NJ88_joY|uC_8d* ze#SIRySFY9!EoXEChoJLBlQE`z6c4NW)rj1Ux->lx+K#DvstQ4{JKysB|T}^n>v2j zz-N^UE@&@5#`K!-HVig@G*f~(yJubLRV!3Cd=)*Wq1P&D(KQ$n<-xOTO>&=IL^FU? zq+8z?31exF5bcKGK6f*ARr!x!HtPh(d&5u(%A$+25d!Rgjd{!T!cGj=x{cAM>4};l z^hs0qkfQIZr6$DKE~iQS!9eDL<8GknxEa{`0vA@<>33yi;2Igp?AMpstUn2+ z%nF6eREePROl6TzB;*glQ)*{f?YRdgN225%)FpO95FO2}b(asspRBZ}NoRN_JQ-L1 zf^Ur;6(#37M|Q&!3+qkMpLl9nipn@FN%+j~JhrjyRRl}leh>YY{b`p1*Y+&reefyP z4l9-4>-HV>8kD@e;qNDxnfYw!@I*VC(3M1sTJ6yh2CPn?d+fpVq`G*W288&1(J9a= zmgrt!kckl%QWJc#&s=DCW8oFU&KsZqpKaT;WTtg2AvMT%d?+*xR7mpgOc9AWyV!S2 a(PyA`Ls(fm|Fk!CdR(Ti$?!gldx6l