+custom services
This commit is contained in:
@ -82,13 +82,33 @@
|
||||
};
|
||||
};
|
||||
|
||||
programs.bash = {
|
||||
loginShellInit = ''
|
||||
# Only show the message for interactive login shells
|
||||
if [[ -t 0 && -t 1 && "$BASH_EXECUTION_STRING" == "" ]]; then
|
||||
gum style \
|
||||
--foreground 212 \
|
||||
--border double \
|
||||
--margin "1 2" \
|
||||
--padding "1 2" \
|
||||
--align center \
|
||||
--width 70 \
|
||||
"🌟 Welcome to Your Self-Host Playbook Server! 🌟" \
|
||||
"" \
|
||||
"🔧 To manage your server: Run 'shp' (requires sudo)" \
|
||||
"" \
|
||||
"💬 Join our community: https://www.m3tam3re.com"
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
||||
environment.etc = {
|
||||
# Main justfile
|
||||
"self-host-playbook/justfile".source = ../justfiles/main.just;
|
||||
|
||||
# Tier justfiles
|
||||
"self-host-playbook/tiers/core.just".source = ../justfiles/tiers/core.just;
|
||||
"self-host-playbook/tiers/starter.just".source = ../justfiles/tiers/starter.just;
|
||||
"self-host-playbook/tiers".source = ../justfiles/tiers;
|
||||
"self-host-playbook/scripts".source = ../justfiles/scripts;
|
||||
};
|
||||
# System state version (do not change)
|
||||
system.stateVersion = "24.11";
|
||||
|
Reference in New Issue
Block a user