Remove build and build-adoc

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-10-27 23:03:23 +00:00
parent 6236f20202
commit 2c5f5f266f
4 changed files with 38 additions and 78 deletions

View file

@ -0,0 +1,36 @@
{ withSystem, ... }:
let
name = "tmux-default-startup";
in
{
perSystem =
{ pkgs, ... }:
{
packages.${name} = pkgs.writeShellApplication {
inherit name;
text = ''
if [[ -x "$PWD/.tmux-sessionizer" ]]; then
"$PWD/.tmux-sessionizer"
fi
if [[ -x "$PWD/.tmux" ]]; then
"$PWD/.tmux"
fi
tmux new-window -d -n scratch
"$EDITOR"
'';
};
};
flake.modules.homeManager.base =
{ pkgs, ... }:
{
home.packages = [
(withSystem pkgs.system (psArgs: psArgs.config.packages.${name}))
];
};
}