Initial commit
This commit is contained in:
14
nixos-apps/ewanick.com.nix
Normal file
14
nixos-apps/ewanick.com.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"ewanick.com" = {
|
||||
serverAliases = [ "www.ewanick.com" ];
|
||||
extraConfig = ''
|
||||
root * /workspace/nixos-apps/ewanick.com/
|
||||
file_server
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
23
nixos-apps/ewanick.com/index.html
Normal file
23
nixos-apps/ewanick.com/index.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="theme-color" content="#000000">
|
||||
<title>Elm App using Nix Starter Template</title>
|
||||
<link rel="stylesheet" href="main.css">
|
||||
|
||||
<script src="main.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
You need to enable JavaScript to run this app.
|
||||
</noscript>
|
||||
<div id="root"></div>
|
||||
<script>var app = Elm.Main.init({ node: document.getElementById("root") });</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
86
nixos-apps/ewanick.com/main.css
Normal file
86
nixos-apps/ewanick.com/main.css
Normal file
@@ -0,0 +1,86 @@
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #fff1e5;
|
||||
font-size: 20px;
|
||||
color: #070707;
|
||||
margin: 0px;
|
||||
font-family: 'IBM Plex Sans', sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
display: block;
|
||||
font-size: 2em;
|
||||
font-weight: bold;
|
||||
margin: 0em 0em 1em 0em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #070707;
|
||||
border-bottom: 1px dashed #070707;
|
||||
padding-bottom: 0px;
|
||||
text-decoration: none;
|
||||
transition: padding 0.25s;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
#hwaet {
|
||||
padding: 2em;
|
||||
max-width: 1000px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
#controls {
|
||||
display: flex
|
||||
}
|
||||
|
||||
.control {
|
||||
margin-right: 1em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 10em;
|
||||
font-size: 0.75em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
input[type="range"] {
|
||||
width: 100%;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
input[type=range] {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
input[type=range]::-webkit-slider-runnable-track {
|
||||
height: .35em;
|
||||
background: #070707;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
input[type=range]::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
border: none;
|
||||
height: 1.1em;
|
||||
width: 1.1em;
|
||||
border-radius: 50%;
|
||||
background: #070707;
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
input[type=range]:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#footer {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
1
nixos-apps/ewanick.com/main.min.js
vendored
Normal file
1
nixos-apps/ewanick.com/main.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
27
nixos-apps/fancytypist.com.nix
Normal file
27
nixos-apps/fancytypist.com.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"fancytypist.com" = {
|
||||
serverAliases = [ "www.fancytypist.com" ];
|
||||
extraConfig = ''
|
||||
respond "Hello, world! fancytypist.com"
|
||||
'';
|
||||
};
|
||||
|
||||
"fancytypist.ca" = {
|
||||
serverAliases = [ "www.fancytypist.ca" ];
|
||||
extraConfig = ''
|
||||
respond "Hello, world! fancytypist.ca"
|
||||
'';
|
||||
};
|
||||
|
||||
"fancytypist.dev" = {
|
||||
serverAliases = [ "www.fancytypist.dev" ];
|
||||
extraConfig = ''
|
||||
respond "Hello, world! fancytypist.dev"
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
25
nixos-apps/git.ewanick.com.nix
Normal file
25
nixos-apps/git.ewanick.com.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
appName = "Bill's Gitea server, hosted on Linode using NixOS";
|
||||
domain = "git.ewanick.com";
|
||||
rootUrl = "https://git.ewanick.com/";
|
||||
httpPort = 3000;
|
||||
settings = {
|
||||
service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"git.ewanick.com" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy localhost:3000
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user