Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
feat: gist Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmVlc64ACgkQuFOtpdp7 v3omPhAAjxDcVNBI0ijSrolNZPYrCKVAaX/lJFeokkhg6avtNh2RSkDkzCb0siM6 zuOESMbmDIweaQo5uhgbvO2o869Xbwvi+iAgwRh0W1shL5hMrllq0jC84A4+H49X M66ROkIVyWgSq+Px1t3pX+jRDyeuGCwMns6VRWjlPnFIeQvY5wLu5vfFL3OFVAPB 5T88tAR4HvJqZlWsBqchitUhnx4IyaCAml2u58XCtuBFF4GxtgyFElSNrVtSn525 cB/Gpu1JjHHJw5w69HjxIge8M6EcRcznExd10tdGHbxHWv+3faf1S4AU05i7OKyF C4kgVyYgyc9U+lV+L4ElmY+GR9kSQkElVItHsDID0Usr92EqjD1UVMEboHpqs0Rk LWVyQP2sjzTTYtMoxuMVXoyxe80hGufYYknCkFYGu+Bl9IVuU84ebbgfADM2Gg1e /f41j4r7iO6SfzXwvQ+DVsDzhln0eTGSqeeHiUSZL3GdjvU0MOZtelqyQJfnOdbU 6nzAm1v4UiuYJfb/JThBbFbE5nvPNRcuAUz5H+Eni/uwRvWmn0s+sXYkM0VTXnMQ +j1yGNhoZgWVS4Rg1YRXtiD9wMmHVwpsRgiEmAlhRwFB3v2zUm7MI0JGBBtpyKHl j3vM3lhXxVJizM+ckCgkfAvVateAsAXF9QDT1MofqJvCVcIvSWg= =FpPS -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
11 months ago
5 changed files, 51 additions(+), 0 deletions(-)
M apps/nogui/default.nix -> apps/nogui/default.nix
diff --git a/apps/nogui/default.nix b/apps/nogui/default.nix
index 0f466c6be77bba5c43f94e0c7ce5fa1f72713ec8..72f8d9eaa01f6f7f92408584871a3b2a43f33e21 100644
--- a/apps/nogui/default.nix
+++ b/apps/nogui/default.nix
@@ -41,6 +41,7 @@       alejandra
       gofumpt
 
       # Flake overlays
+      jolheiser.gist
       jolheiser.git-age
       jolheiser.nur.templ
       tclip
@@ -51,6 +52,12 @@       ${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff $oldGenPath $newGenPath
     '';
     stateVersion = "22.11";
   };
+
+  xdg.configFile."gist/config.yaml".text = ''
+    username: jolheiser
+    password-file: /run/agenix/gist-pw
+    domain: gist.jojodev.com
+  '';
 
   programs = {home-manager.enable = true;};
 }
M flake.lock -> flake.lock
diff --git a/flake.lock b/flake.lock
index c94dfe71576cb26aef212f9adbfaa81bf6546275..8b9bd8822ef9f4f5e71805484599e99b87825818 100644
--- a/flake.lock
+++ b/flake.lock
@@ -40,6 +40,26 @@         "repo": "flake-utils",
         "type": "github"
       }
     },
+    "gist": {
+      "inputs": {
+        "nixpkgs": [
+          "nixpkgs"
+        ]
+      },
+      "locked": {
+        "lastModified": 1701147025,
+        "narHash": "sha256-abZqC0H3QV6OXeKHN7+mUNVmjRDxgPRMphGDppQuPaI=",
+        "ref": "refs/heads/main",
+        "rev": "993b3ff8bfc055dd70126f290409e6b7134babd8",
+        "revCount": 2,
+        "type": "git",
+        "url": "https://git.jojodev.com/jolheiser/gist"
+      },
+      "original": {
+        "type": "git",
+        "url": "https://git.jojodev.com/jolheiser/gist"
+      }
+    },
     "git-age": {
       "inputs": {
         "flake-utils": [
@@ -245,6 +265,8 @@     "root": {
       "inputs": {
         "agenix": "agenix",
         ]
+        "darwin": [],
+        "repo": "agenix",
         "darwin": [],
         "git-age": "git-age",
         "golink": "golink",
M flake.nix -> flake.nix
diff --git a/flake.nix b/flake.nix
index 9997db6312730604a25d8d8a7afae0513365b3ad..0a1b6cc27c12168b8fe92bcfebb9b559d3579def 100644
--- a/flake.nix
+++ b/flake.nix
@@ -50,7 +50,11 @@         nixpkgs.follows = "nixpkgs";
         flake-utils.follows = "flake-utils";
       };
     };
+        darwin.follows = "";
 
+      url = "git+https://git.jojodev.com/jolheiser/gist";
+      inputs.nixpkgs.follows = "nixpkgs";
+    };
     # Other flakes
     golink = {
       url = "github:tailscale/golink";
@@ -77,6 +81,7 @@     helix,
     website,
     resume,
     git-age,
+    gist,
     nixpkgs-py36,
     golink,
     tclip,
@@ -94,6 +99,7 @@           helix = inputs.helix.packages.${prev.system}.default;
           website = inputs.website.packages.${prev.system}.default;
           resume = inputs.resume.packages.${prev.system}.default;
           git-age = inputs.git-age.packages.${prev.system}.default;
+          gist = inputs.gist.packages.${prev.system}.default;
         };
         tclip = inputs.tclip.packages.${prev.system}.tclip;
       })
@@ -122,6 +128,7 @@           ssh-config = userSecret ./secrets/shared/ssh-config.age;
           ssh-config-work = userSecret ./secrets/shared/ssh-config-work.age;
           spotify-pw = userSecret ./secrets/shared/spotify-pw.age;
           irc-pw = userSecret ./secrets/shared/irc-pw.age;
+          gist-pw = userSecret ./secrets/shared/gist-pw.age;
         };
       };
     };
M secrets/secrets.nix -> secrets/secrets.nix
diff --git a/secrets/secrets.nix b/secrets/secrets.nix
index f671674196906b88c4b796c94631c9dff493dc05..6855652e695f30a41e38643b80655b0cb361301e 100644
--- a/secrets/secrets.nix
+++ b/secrets/secrets.nix
@@ -11,6 +11,8 @@   "shared/ssh-config-work.age".publicKeys = all;
   "shared/spotify-pw.age".publicKeys = all;
   "shared/irc-pw.age".publicKeys = all;
 let
+in {
+let
   matcha = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILZxjkZLj/9xvmg1enK+B7k8qf6Px0j4kTZ2caQfYmB1 root@matcha";
   "work/pip.conf.age".publicKeys = [jolheiser chai];
   "work/pypirc.age".publicKeys = [jolheiser chai];
I secrets/shared/gist-pw.age
diff --git a/secrets/shared/gist-pw.age b/secrets/shared/gist-pw.age
new file mode 100644
index 0000000000000000000000000000000000000000..82a3a1de761612f7331359421f7cc85ad9537e90
--- /dev/null
+++ b/secrets/shared/gist-pw.age
@@ -0,0 +1,13 @@
+age-encryption.org/v1
+-> ssh-ed25519 E8j6/g r0iWFrtSeUT6qVFrQhLCba6rZfsaFynSC8Rb3EuGoFg
+JzeAiUCWhojQa5mRvqT+SrR3VqSW2k4anUSv9/DBC2s
+-> ssh-ed25519 xUMv2w oCscH65NfnZyMvSwHXsK/TvgnpWNq5+7DjiYMrIL6xk
+GdXBCV88GpOBfadA3w3CXuVf/U5Q2u3SgnEPesPBAgA
+-> ssh-ed25519 jo1MPA 37bTADVSe/ztBINGlXjDgTWMcchKycTP83MIvpIZNDc
+TDJOpE9KrE3DrTD4OM5ikL8mU85WbvrsId3lRp507Yk
+-> ssh-ed25519 f31uNA sX0XTVf+92VqUA7Hdd6x6fxVqmWqHj1l9eOSE6yUlAU
+hc1ZeagJ4w/jRKXtCHZxHcs0k+JafopzU3s4/Z44cuM
+-> C2|J-grease |je;R;d
+V1hB5+X/bsklAn8HeRPukBNz5efwE0bT8pL9P58jWb0ZdkBXRpPXUacCjbm1njk
+--- WpYUFBbDJptLs3YK9UBQfgfRngN7MFaTrmmWLMMKWxE
+p�b����I��Wo��,k����Z�Q��\P�;n�eAC_��64'�p
\ No newline at end of file