Move zet script to its own repository

This commit is contained in:
Oliver Davies 2025-09-06 23:35:07 +01:00
parent f695a1f905
commit 38d389eb9b
4 changed files with 40 additions and 159 deletions

View file

@ -1,20 +1,26 @@
{ inputs, ... }:
{
flake.modules.homeManager.base =
{ pkgs, ... }:
{
home.packages = [
(pkgs.writeShellApplication {
home.packages =
let
name = "zet";
in
[
(pkgs.writeShellApplication {
inherit name;
runtimeInputs = with pkgs; [
bashInteractive
coreutils
fzf
git
];
runtimeInputs = with pkgs; [
bashInteractive
coreutils
fzf
git
];
text = builtins.readFile ./script.sh;
})
];
text = builtins.readFile "${inputs.zet}/${name}";
})
];
};
}