Update my PS1; add redirect for Purr

This commit is contained in:
James Eversole 2023-07-04 09:21:22 -05:00
parent 6404a200e6
commit c300f0ba94
2 changed files with 7 additions and 1 deletions

View File

@ -54,7 +54,10 @@
target = "http://127.0.0.1:3001";
};
"eversole.co" = static { dir = "/var/www/jame.su"; };
"git.eversole.co" = proxied { target = "http://127.0.0.1:26616"; };
"git.eversole.co" = base {
"/".proxyPass = "http://127.0.0.1:26616";
"/purr".return = "301 https://git.eversole.co/James/purr";
};
"graf.matri.cx" = { root = "/var/www/graf.matri.cx"; }; # refer to /monitoring/nginx.nix
"hydra.matri.cx" = proxied {
target = "http://127.0.0.1:3034";

View File

@ -1,4 +1,7 @@
{ config, pkgs, ... }: {
programs.bash.promptInit = ''
PS1="\n\[\033[01;32m\]\u $\[\033[00m\]\[\033[01;36m\] \w >\[\033[00m\] "
'';
users.users = {
sezycei = {
isNormalUser = true;