Run 'nix fmt' on whole repo
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"crueltysquad.com" = {
|
||||
serverAliases = [ "www.crueltysquad.com" ];
|
||||
serverAliases = ["www.crueltysquad.com"];
|
||||
extraConfig = ''
|
||||
redir https://store.steampowered.com/app/1388770/Cruelty_Squad/
|
||||
'';
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
{pkgs, ...}: let
|
||||
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love";
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"cutesealfanpage.love" = {
|
||||
serverAliases = [ "www.cutesealfanpage.love" ];
|
||||
serverAliases = ["www.cutesealfanpage.love"];
|
||||
extraConfig = ''
|
||||
root * ${PROJECT_ROOT}/_site
|
||||
file_server
|
||||
@@ -21,7 +18,7 @@ in
|
||||
cutesealfanpage-hakyll-site = {
|
||||
enable = true;
|
||||
description = "The hakyll executable that rebuilds the site when a new blog post is created.";
|
||||
path = with pkgs; [ nix git ];
|
||||
path = with pkgs; [nix git];
|
||||
script = ''
|
||||
cd ${PROJECT_ROOT}
|
||||
nix run .#hakyll-site -- watch --no-server
|
||||
@@ -32,7 +29,7 @@ in
|
||||
enable = true;
|
||||
description = "The haskell script that creates the new post of the day.";
|
||||
startAt = "08:12:42";
|
||||
path = with pkgs; [ nix git ];
|
||||
path = with pkgs; [nix git];
|
||||
script = ''
|
||||
cd ${PROJECT_ROOT}
|
||||
nix run .#generateSealPosts
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
{pkgs, ...}: let
|
||||
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/ewanick.com";
|
||||
PORT = "5567";
|
||||
HOST = "localhost";
|
||||
emanote-version = "1.2.0";
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"ewanick.com" = {
|
||||
serverAliases = [ "www.ewanick.com" ];
|
||||
serverAliases = ["www.ewanick.com"];
|
||||
extraConfig = ''
|
||||
reverse_proxy ${HOST}:${PORT}
|
||||
'';
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
- Haskell disciple
|
||||
- Polyglot programmer familiar with everything, from Ada to Zig.
|
||||
|
||||
Software developer for hire.
|
||||
Contact me for contract work at `<firstName>@<lastName>.com`
|
||||
See what I'm currently tinkering with at:
|
||||
Software developer for hire.\
|
||||
Contact me for contract work at `<firstName>@<lastName>.com`\
|
||||
See what I'm currently tinkering with at:\
|
||||
<https://git.ewanick.com/bill>
|
||||
|
||||
:::{.photoframe-center}
|
||||
![[profile.jpg]]
|
||||
!\[[profile.jpg]\]
|
||||
|
||||
@@ -1,23 +1,20 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
{pkgs, ...}: let
|
||||
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/fancyTypist.dev";
|
||||
HOST = "localhost";
|
||||
PORT = 12513;
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"fancytypist.com" = {
|
||||
serverAliases = [ "www.fancytypist.com" ];
|
||||
serverAliases = ["www.fancytypist.com"];
|
||||
extraConfig = ''
|
||||
respond "Hello, world! fancytypist.com"
|
||||
'';
|
||||
};
|
||||
|
||||
"fancytypist.ca" = {
|
||||
serverAliases = [ "www.fancytypist.ca" ];
|
||||
serverAliases = ["www.fancytypist.ca"];
|
||||
extraConfig = ''
|
||||
respond "Hello, world! fancytypist.ca"
|
||||
'';
|
||||
@@ -36,7 +33,7 @@ in
|
||||
};
|
||||
|
||||
"osds.fancytypist.dev" = {
|
||||
serverAliases = [ "osds.fancytypist.dev" ];
|
||||
serverAliases = ["osds.fancytypist.dev"];
|
||||
extraConfig = ''
|
||||
reverse_proxy ${HOST}:${toString PORT}
|
||||
'';
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
{pkgs, ...}: let
|
||||
baseUrl = "git.ewanick.com";
|
||||
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/git.ewanick.com";
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
appName = "Bill's Gitea server, hosted on Linode using NixOS";
|
||||
@@ -58,17 +56,16 @@ in
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
# README
|
||||
# README
|
||||
|
||||
## View users and use the command line
|
||||
## View users and use the command line
|
||||
|
||||
Do something like this, preferably as the gitea user
|
||||
Do something like this, preferably as the gitea user
|
||||
|
||||
```bash
|
||||
$ sudo su gitea
|
||||
$ /nix/store/5xwh7m7252m9ljvr3lyilcza1q699r2c-gitea-1.17.4/bin/gitea -c /var/lib/gitea/custom/conf/app.ini admin user list
|
||||
```
|
||||
```bash
|
||||
$ sudo su gitea
|
||||
$ /nix/store/5xwh7m7252m9ljvr3lyilcza1q699r2c-gitea-1.17.4/bin/gitea -c /var/lib/gitea/custom/conf/app.ini admin user list
|
||||
```
|
||||
*/
|
||||
|
||||
|
||||
@@ -2,14 +2,13 @@ let
|
||||
baseUrl = "hydra.fancyTypist.com";
|
||||
HOST = "localhost";
|
||||
PORT = 8246;
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.hydra = {
|
||||
enable = false;
|
||||
port = PORT;
|
||||
hydraURL = "https://${HOST}:${toString PORT}";
|
||||
notificationSender = "hydra@fancyTypist.com";
|
||||
buildMachinesFiles = [ ];
|
||||
buildMachinesFiles = [];
|
||||
useSubstitutes = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,20 +1,18 @@
|
||||
# Currently disabled, having issues starting
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
{pkgs, ...}: let
|
||||
baseUrl = "paperless.ewanick.com";
|
||||
HOST = "localhost";
|
||||
PORT = 28981;
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.paperless = {
|
||||
enable = true;
|
||||
address = HOST;
|
||||
port = PORT;
|
||||
passwordFile = "/run/keys/paperless-password";
|
||||
};
|
||||
systemd.services.paperless-scheduler.after = [ "var-lib-paperless.mount" ];
|
||||
systemd.services.paperless-consumer.after = [ "var-lib-paperless.mount" ];
|
||||
systemd.services.paperless-web.after = [ "var-lib-paperless.mount" ];
|
||||
systemd.services.paperless-scheduler.after = ["var-lib-paperless.mount"];
|
||||
systemd.services.paperless-consumer.after = ["var-lib-paperless.mount"];
|
||||
systemd.services.paperless-web.after = ["var-lib-paperless.mount"];
|
||||
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user