better manage recipe

This commit is contained in:
randogoth 2026-02-11 11:02:43 +02:00
parent 018a036601
commit c1e0c65cf0

View file

@ -3,8 +3,15 @@
let
justfileText = ''
[no-cd]
manage:
$EDITOR ~/.config/home-manager/home.nix
manage module="":
#!/usr/bin/env bash
set -euo pipefail
if [ -z "{{module}}" ]; then
$EDITOR ~/.config/home-manager/home.nix;
else
$EDITOR ~/.config/home-manager/modules/{{module}}.nix;
fi
[no-cd]
switch: