chore: add blog
This commit is contained in:
parent
aa1c642ec9
commit
51f9675843
4 changed files with 28 additions and 41 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -393,6 +393,7 @@
|
|||
"pandoc-latex-template": "pandoc-latex-template",
|
||||
"rnix-lsp": "rnix-lsp",
|
||||
"utils": "utils_2",
|
||||
"xynoblog": "xynoblog",
|
||||
"zsh-completions": "zsh-completions",
|
||||
"zsh-syntax-highlighting": "zsh-syntax-highlighting",
|
||||
"zsh-vim-mode": "zsh-vim-mode"
|
||||
|
|
@ -428,6 +429,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"xynoblog": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1655313369,
|
||||
"narHash": "sha256-F6E1aNHw0m2PwlCg3ATWJS+c/ovxpQ8HT8xWArzG/rA=",
|
||||
"owner": "thexyno",
|
||||
"repo": "blog",
|
||||
"rev": "1e256bcd102937cdcd164e754a729e247b14447f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "thexyno",
|
||||
"repo": "blog",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"zsh-completions": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@
|
|||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
impermanence.url = "github:nix-community/impermanence";
|
||||
impermanence.inputs.nixpkgs.follows = "nixpkgs";
|
||||
xynoblog.url = "github:thexyno/blog";
|
||||
xynoblog.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
darwin.url = "github:lnl7/nix-darwin/master";
|
||||
darwin.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
[
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
inputs.xynoblog.nixosModule
|
||||
];
|
||||
|
||||
documentation.enable = false;
|
||||
|
|
@ -48,7 +49,7 @@
|
|||
services.nginx.virtualHosts."xyno.space" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = ./xynospace;
|
||||
locations."/".proxyPass = "http://[::1]${config.services.xynoblog.listen}";
|
||||
};
|
||||
|
||||
services.restic.backups."picard" = {
|
||||
|
|
@ -83,16 +84,17 @@
|
|||
enable = true;
|
||||
script = "${pkgs.curl}/bin/curl -fss -m 10 --retry 5 -o /dev/null $(cat ${config.age.secrets.picardResticHealthCheckUrl.path})/fail";
|
||||
};
|
||||
services.xynoblog.enable = true;
|
||||
ragon = {
|
||||
cli.enable = true;
|
||||
user.enable = true;
|
||||
persist.enable = true;
|
||||
persist.extraDirectories = [ "/var/lib/syncthing" ];
|
||||
persist.extraDirectories = [ "/var/lib/syncthing" "/var/lib/${config.services.xynoblog.stateDirectory}" ];
|
||||
|
||||
services = {
|
||||
ssh.enable = true;
|
||||
bitwarden.enable = true;
|
||||
gitlab.enable = true; # TODO gitlab-runner
|
||||
gitlab.enable = false; # TODO gitlab-runner
|
||||
synapse.enable = true;
|
||||
tailscale.enable = true;
|
||||
hedgedoc.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,38 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>xynos space</title>
|
||||
<meta name="description" content="Links to xynos profiles">
|
||||
<style>
|
||||
body {
|
||||
text-align: center;
|
||||
background-color: #282828;
|
||||
color: #ebdbb2;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
}
|
||||
a:link {
|
||||
color: #fbf1c7;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:visited {
|
||||
color: #c5c4a1;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>xynos space</h1>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<h3>links:</h3>
|
||||
<br>
|
||||
<a target="_blank" href="https://github.com/thexyno">GitHub - thexyno</a>
|
||||
<br>
|
||||
<br>
|
||||
<a rel="me" target="_blank" href="https://matrix.to/#/@me:ragon.xyz">Matrix - @me:ragon.xyz</a>
|
||||
<br>
|
||||
<br>
|
||||
<a rel="me" target="_blank" href="https://chaos.social/@xyno">Mastodon - @xyno@chaos.social</a>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue