Compare commits

..

2 commits

Author SHA1 Message Date
Jet
47b0643cdf
update: nfu 2026-03-18 16:41:07 -07:00
Jet
9f919ad68e
feat: add tea-init script 2026-03-18 16:40:46 -07:00
3 changed files with 26 additions and 17 deletions

24
flake.lock generated
View file

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1773711031,
"narHash": "sha256-S7jOY+xHm8Y8N6Amm663/saMZ+VSGBGZfWiQrkVyXQM=",
"lastModified": 1773804142,
"narHash": "sha256-XiW/Tsauyig4Oog1yjxBAzTfO8HAiwtpT0uLh4QpVJ8=",
"owner": "ryoppippi",
"repo": "claude-code-overlay",
"rev": "19b4712c89218e578e93b32143e51f70022a7bfb",
"rev": "292f18fd1be3376acfa7e7238e4f5b4607700cd9",
"type": "github"
},
"original": {
@ -48,11 +48,11 @@
]
},
"locked": {
"lastModified": 1773681856,
"narHash": "sha256-+bRqxoFCJFO9ZTFhcCkzNXbDT3b8AEk88fyjB7Is6eo=",
"lastModified": 1773810247,
"narHash": "sha256-6Vz1Thy/1s7z+Rq5OfkWOBAdV4eD+OrvDs10yH6xJzQ=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "57d5560ee92a424fb71fde800acd6ed2c725dfce",
"rev": "d47357a4c806d18a3e853ad2699eaec3c01622e7",
"type": "github"
},
"original": {
@ -119,11 +119,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1773646010,
"narHash": "sha256-iYrs97hS7p5u4lQzuNWzuALGIOdkPXvjz7bviiBjUu8=",
"lastModified": 1773734432,
"narHash": "sha256-IF5ppUWh6gHGHYDbtVUyhwy/i7D261P7fWD1bPefOsw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "5b2c2d84341b2afb5647081c1386a80d7a8d8605",
"rev": "cda48547b432e8d3b18b4180ba07473762ec8558",
"type": "github"
},
"original": {
@ -141,11 +141,11 @@
]
},
"locked": {
"lastModified": 1773785107,
"narHash": "sha256-AO9pqTrp/m+pPbobe9ISKOQaSqPCXLJ87A+ADVVuJyg=",
"lastModified": 1773868362,
"narHash": "sha256-xKO8rtuLbWaZD9Wcbbrs94eqF9DCuTz18AZOEMRRups=",
"owner": "nix-community",
"repo": "NUR",
"rev": "ec8410da639a9b314f867cfe808e6b9912a575b4",
"rev": "9b4ccdf51c867b73a6dd9d03cd577e013b43ccd9",
"type": "github"
},
"original": {

View file

@ -53,11 +53,6 @@
nixpkgs.overlays = [
inputs.nur.overlays.default
inputs.claude-code-overlay.overlays.default
(final: prev: {
zulip = prev.zulip.override {
electron_39 = final.electron_38;
};
})
];
}
];

View file

@ -68,6 +68,20 @@ in
};
home.packages = with pkgs; [
# Scripts
(writeShellScriptBin "tea-init" ''
name="''${1:-$(basename "$PWD")}"
login="''${2:-git.extremist.software}"
user=$(tea logins list -o simple | awk -v l="$login" '$2 == "https://"l {print $4}')
if [ -z "$user" ]; then
echo "error: no tea login found for $login" >&2
exit 1
fi
tea repo create --name "$name" --login "$login"
git remote add origin "git@''${login}:''${user}/''${name}.git"
git push -u origin "$(git branch --show-current)"
'')
# CLI
bat
ffmpeg-full