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 let
justfileText = '' justfileText = ''
[no-cd] [no-cd]
manage: manage module="":
$EDITOR ~/.config/home-manager/home.nix #!/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] [no-cd]
switch: switch: