add website
|
@ -13,7 +13,7 @@ in
|
|||
serverName = cfg.domain.full;
|
||||
useACMEHost = cfg.domain.base;
|
||||
forceSSL = true;
|
||||
root = "/var/lib/website/";
|
||||
root = ./src;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
1
modules/website/src/.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use flake
|
BIN
modules/website/src/buttons/antifa/button.gif
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
modules/website/src/buttons/css/button.gif
Normal file
After Width: | Height: | Size: 495 B |
BIN
modules/website/src/buttons/debianlesbian/button.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
modules/website/src/buttons/estrogen/button.gif
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
modules/website/src/buttons/fedi/button.gif
Normal file
After Width: | Height: | Size: 604 B |
BIN
modules/website/src/buttons/gay/button.gif
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
modules/website/src/buttons/learnhtml/button.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
modules/website/src/buttons/lesbian/button.png
Normal file
After Width: | Height: | Size: 387 B |
BIN
modules/website/src/buttons/linux/button.gif
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
modules/website/src/buttons/miku/button.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
modules/website/src/buttons/mira/button.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
modules/website/src/buttons/nixos/button.gif
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
modules/website/src/buttons/paws/button.gif
Normal file
After Width: | Height: | Size: 877 B |
BIN
modules/website/src/buttons/sheher/button.gif
Normal file
After Width: | Height: | Size: 326 B |
BIN
modules/website/src/buttons/transnow/button.gif
Normal file
After Width: | Height: | Size: 471 B |
BIN
modules/website/src/buttons/transnow2/button.gif
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
modules/website/src/buttons/ublock/button.png
Normal file
After Width: | Height: | Size: 475 B |
BIN
modules/website/src/buttons/vi/button.gif
Normal file
After Width: | Height: | Size: 761 B |
BIN
modules/website/src/buttons/wustlang/button.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
61
modules/website/src/flake.lock
generated
Normal file
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
"nodes": {
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1740019556,
|
||||
"narHash": "sha256-vn285HxnnlHLWnv59Og7muqECNMS33mWLM14soFIv2g=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "dad564433178067be1fbdfcce23b546254b6d641",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
21
modules/website/src/flake.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, flake-utils, ... }: flake-utils.lib.eachSystem [
|
||||
"x86_64-linux" "i686-linux" "aarch64-linux" "x86_64-darwin"
|
||||
] (system: let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
};
|
||||
in {
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
vscode-langservers-extracted
|
||||
imagemagick
|
||||
];
|
||||
};
|
||||
});
|
||||
}
|
53
modules/website/src/index.html
Normal file
|
@ -0,0 +1,53 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Expires" content="0" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>mira's site</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<div class="box">
|
||||
<h1>hi, i'm mira :3</h1>
|
||||
<p>come back soon™ to find something here</p>
|
||||
<p>or talk to me on <a href=https://matrix.to/#/@mira:matrix.twoneis.site>matrix</a> or <a
|
||||
href=https://fedi.twoneis.site/mira>fedi</a></p>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
<footer id="footer">
|
||||
<div class="box">
|
||||
<a href="https://twoneis.site"><img src="buttons/mira/button.png" alt="mira" class="button" /></a>
|
||||
<img src="buttons/sheher/button.gif" alt="she/her" class="button" />
|
||||
<a href="https://transfemscience.org"><img src="buttons/estrogen/button.gif" alt="powered by estrogen"
|
||||
class="button" /></a>
|
||||
<a href="https://ublockorigin.com"><img src="buttons/ublock/button.png" alt="ublock origin now"
|
||||
class="button" /></a>
|
||||
<img src="buttons/lesbian/button.png" alt="lesbian" class="button" />
|
||||
<a href="https://uwu.gal/about-us"><img src="https://uwu.gal/button.png" alt="uwu.gal 88x31 button" loading="lazy"
|
||||
class="button" /></a>
|
||||
<img src="buttons/debianlesbian/button.png" alt="debian for lesbians" class="button" />
|
||||
<a href="https://rust-lang.org"><img src="buttons/wustlang/button.gif" alt="wust lang" class="button" /></a>
|
||||
<a href="https://nixos.org"><img src="buttons/nixos/button.gif" alt="nixos" class="button" /></a>
|
||||
<img src="buttons/transnow/button.gif" alt="trans rights now" class="button" />
|
||||
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML"><img src="buttons/learnhtml/button.gif" alt="learn html"
|
||||
class="button" /></a>
|
||||
<img src="buttons/antifa/button.gif" alt="antifa" class="button" />
|
||||
<img src="buttons/miku/button.png" alt="this website is miku approved" class="button" />
|
||||
<img src="buttons/paws/button.gif" alt="made with my own two paws" class="button" />
|
||||
<a href="https://kernel.org"><img src="buttons/linux/button.gif" alt="linux powered" class="button" /></a>
|
||||
<a href="https://fedi.twoneis.site/mira"><img src="buttons/fedi/button.gif" alt="join fedi" class="button" /></a>
|
||||
<img src="buttons/css/button.gif" alt="CSS is difficult" class="button" />
|
||||
<a href="https://diyhrt.cafe"><img src="buttons/transnow2/button.gif" alt="trans your gender" class="button" /></a>
|
||||
<a href="https://helix-editor.com"><img src="buttons/vi/button.gif" alt="made with vi" class="button" /></a>
|
||||
<img src="buttons/gay/button.gif" alt="this website is gay" class="button" />
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</html>
|
22
modules/website/src/style.css
Normal file
|
@ -0,0 +1,22 @@
|
|||
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');
|
||||
|
||||
* {
|
||||
font-family: "Fira Code", serif;
|
||||
background-color: #191724;
|
||||
color: #e0def4;
|
||||
}
|
||||
|
||||
.button {
|
||||
width: 88px;
|
||||
height: 31px;
|
||||
image-rendering: -moz-crisp-edges;
|
||||
image-rendering: -webkit-optimize-contrast;
|
||||
}
|
||||
|
||||
.box {
|
||||
max-width: 800px;
|
||||
display: table;
|
||||
text-align: center;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|