added stuff
This commit is contained in:
parent
6d31f5b5a1
commit
7d4f626b7d
907 changed files with 70990 additions and 0 deletions
36
nyx/lib/aliases.nix
Normal file
36
nyx/lib/aliases.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
_: let
|
||||
# this is a forced SSL template for Nginx
|
||||
# returns the attribute set with our desired settings
|
||||
sslTemplate = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
|
||||
common = {
|
||||
shellColors = ''
|
||||
# Reset colors
|
||||
CO='\033[0m'
|
||||
|
||||
# Colors
|
||||
RED='\033[0;31m'
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[0;33m'
|
||||
BLUE='\033[0;34m'
|
||||
PURPLE='\033[0;35m'
|
||||
CYAN='\033[0;36m'
|
||||
WHITE='\033[0;37m'
|
||||
|
||||
# Bold colors
|
||||
BBLACK='\033[1;30m'
|
||||
BRED='\033[1;31m'
|
||||
BGREEN='\033[1;32m'
|
||||
BYELLOW='\033[1;33m'
|
||||
BBLUE='\033[1;34m'
|
||||
BPURPLE='\033[1;35m'
|
||||
BCYAN='\033[1;36m'
|
||||
BWHITE='\033[1;37m'
|
||||
'';
|
||||
};
|
||||
in {
|
||||
inherit sslTemplate common;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue