feat: gist

Signed-off-by: jolheiser <john.olheiser@gmail.com>
teamcity
jolheiser 2023-11-27 22:59:26 -06:00
parent 6bd596ed1c
commit 22cc8bed6b
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
5 changed files with 49 additions and 1 deletions

View File

@ -41,6 +41,7 @@
gofumpt gofumpt
# Flake overlays # Flake overlays
jolheiser.gist
jolheiser.git-age jolheiser.git-age
jolheiser.nur.templ jolheiser.nur.templ
tclip tclip
@ -52,5 +53,11 @@
stateVersion = "22.11"; 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;}; programs = {home-manager.enable = true;};
} }

View File

@ -40,6 +40,26 @@
"type": "github" "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": { "git-age": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": [
@ -245,6 +265,7 @@
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"gist": "gist",
"git-age": "git-age", "git-age": "git-age",
"golink": "golink", "golink": "golink",
"helix": "helix", "helix": "helix",

View File

@ -50,7 +50,10 @@
flake-utils.follows = "flake-utils"; flake-utils.follows = "flake-utils";
}; };
}; };
gist = {
url = "git+https://git.jojodev.com/jolheiser/gist";
inputs.nixpkgs.follows = "nixpkgs";
};
# Other flakes # Other flakes
golink = { golink = {
url = "github:tailscale/golink"; url = "github:tailscale/golink";
@ -77,6 +80,7 @@
website, website,
resume, resume,
git-age, git-age,
gist,
nixpkgs-py36, nixpkgs-py36,
golink, golink,
tclip, tclip,
@ -94,6 +98,7 @@
website = inputs.website.packages.${prev.system}.default; website = inputs.website.packages.${prev.system}.default;
resume = inputs.resume.packages.${prev.system}.default; resume = inputs.resume.packages.${prev.system}.default;
git-age = inputs.git-age.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; tclip = inputs.tclip.packages.${prev.system}.tclip;
}) })
@ -122,6 +127,7 @@
ssh-config-work = userSecret ./secrets/shared/ssh-config-work.age; ssh-config-work = userSecret ./secrets/shared/ssh-config-work.age;
spotify-pw = userSecret ./secrets/shared/spotify-pw.age; spotify-pw = userSecret ./secrets/shared/spotify-pw.age;
irc-pw = userSecret ./secrets/shared/irc-pw.age; irc-pw = userSecret ./secrets/shared/irc-pw.age;
gist-pw = userSecret ./secrets/shared/gist-pw.age;
}; };
}; };
}; };

View File

@ -10,6 +10,7 @@ in {
"shared/ssh-config-work.age".publicKeys = all; "shared/ssh-config-work.age".publicKeys = all;
"shared/spotify-pw.age".publicKeys = all; "shared/spotify-pw.age".publicKeys = all;
"shared/irc-pw.age".publicKeys = all; "shared/irc-pw.age".publicKeys = all;
"shared/gist-pw.age".publicKeys = all;
"work/netrc.age".publicKeys = [jolheiser chai]; "work/netrc.age".publicKeys = [jolheiser chai];
"work/pip.conf.age".publicKeys = [jolheiser chai]; "work/pip.conf.age".publicKeys = [jolheiser chai];
"work/pypirc.age".publicKeys = [jolheiser chai]; "work/pypirc.age".publicKeys = [jolheiser chai];

View File

@ -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<E280A2><51>\P”;nãeAC_¨·64'Èp