From 63f37e0a09fccf832b8dceef2e6f5763646607bd Mon Sep 17 00:00:00 2001 From: jolheiser Date: Mon, 13 Nov 2023 14:45:38 -0600 Subject: [PATCH] feat: add cifs Signed-off-by: jolheiser --- .git-age.yaml | 2 ++ .gitattributes | 1 + flake.nix | 12 ++++++------ machines/chai/cifs.nix | Bin 0 -> 607 bytes machines/chai/hardware.nix | 2 +- secrets/secrets.nix | 1 + secrets/work/cifs.age | Bin 0 -> 485 bytes 7 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 machines/chai/cifs.nix create mode 100644 secrets/work/cifs.age diff --git a/.git-age.yaml b/.git-age.yaml index acdb861..889843d 100644 --- a/.git-age.yaml +++ b/.git-age.yaml @@ -1,2 +1,4 @@ "apps/gui/firefox/work.nix": - age105cm5awxxegyrqthh4vhnxzr0tdy86q8uq52wkkjacfkutp2vprqwseak7 +"machines/chai/cifs.nix": + - age105cm5awxxegyrqthh4vhnxzr0tdy86q8uq52wkkjacfkutp2vprqwseak7 diff --git a/.gitattributes b/.gitattributes index 728e9ab..bfa108f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,6 @@ # Age apps/gui/firefox/work.nix filter=git-age diff=git-age +machines/chai/cifs.nix filter=git-age diff=git-age # Git LFS *.png filter=lfs diff=lfs merge=lfs -text diff --git a/flake.nix b/flake.nix index ae90423..0c88fc8 100644 --- a/flake.nix +++ b/flake.nix @@ -90,12 +90,11 @@ }) golink.overlay ]; - commonConfig = {gui ? true}: {config, ...}: let - userSecret = path: { - file = path; - owner = username; - }; - in { + userSecret = path: { + file = path; + owner = username; + }; + commonConfig = {gui ? true}: {config, ...}: { config = { nixpkgs.overlays = overlays; home-manager = { @@ -150,6 +149,7 @@ owner = username; path = "/home/${username}/.config/pip/pip.conf"; }; + cifs = userSecret ./secrets/work/cifs.age; }; }; }) diff --git a/machines/chai/cifs.nix b/machines/chai/cifs.nix new file mode 100644 index 0000000000000000000000000000000000000000..194f004730ef6fbc807787b4c893f375f4ddb7fc GIT binary patch literal 607 zcmV-l0-*h2XJsvAZewzJaCB*JZZ2cUNH;_?FL+W`PcUdVS2PMqX-RV{a7J%KVs&nLHB>iqLojAH zGBi?7T1Is>R#Z$cYIb8!Vo*$Rb9V|YEiE8%a#?RnD`<0cNk?r=VRd+IW^*@eHDPW{ zMRav>Yh+bKOnFu@dTL8XLvsp`PS~SawTg%;>6$q%pCk0#IZp9Y!K{byKkr3SyS4CS z){Z6T*JiZueaM?qHRRAU=>S%2jCaZ70AGtD3f42Q<7mb}AU&0%E|K)G`5+XuM(jiG z9?AI8=ZMX1ga$Hm8mjhIa7-ymR7@;&Vt|q%e!3uN>1U1(~M$z%5 z7&`cn=nbQvj>Nza(LxFiv(oXN;?S})DpmE?;0ne~tpy&VGC+0stn1Lz6H2(l*q9#i zm09h*wP9=)!Y+^f3rc^UE)0 zkzq(4mAQz;A=;m*)G!9kv^$!pLO$=YET^eOS8A{TYy!u$^`)U0brRZ0(u7<}Xr7`{ zIVnozMi{mnrZtgkghEuZDl`&UNkpzQr2pTdl+<(q%}dpE=GuPHSk?M;4*gy$i2pfq zL025xqvAoCGE6IJL^(oQiR()Xka*Qh?0PB}MRQ}>Oq(Tq2{cC+$x7^aTxD&-(`_{e zmxhP!0}M{VAP4Am4c;Ep=oP<(cEnqkE$=Eixn?SeuLrp9iNwO|NCA^fE7(o@Aa+V|hhbTgt64~qRuzH~3)ihA