mirror of
https://github.com/archtechx/nix.git
synced 2025-12-12 03:24:02 +00:00
composer in PATH, nginx default_server
This commit is contained in:
parent
1731e68e5f
commit
dbc52af28c
2 changed files with 21 additions and 0 deletions
|
|
@ -40,7 +40,10 @@ in {
|
|||
networking.firewall.allowedTCPPorts = [ 80 ] ++ lib.optionals ssl [ 443 ];
|
||||
|
||||
# Create welcome message for user
|
||||
# todo: the created /etc file should ideally be 0750
|
||||
environment.etc."laravel-${name}-bashrc".text = ''
|
||||
export PATH="$HOME/.config/composer/vendor/bin/:$PATH"
|
||||
|
||||
# Laravel site welcome message
|
||||
echo "Welcome to ${name} Laravel site!"
|
||||
echo "Domains: ${lib.concatStringsSep ", " domains}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue