Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions modules/core/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
gtm = "git merge";
gtma = "git merge --abort";
gtmc = "git merge --continue";
gtr = "git restore";
gtrs = "git reset";

# just
jts = "just switch";
Expand Down
4 changes: 2 additions & 2 deletions modules/srv/traefik.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ in {
];
root = websitePackage;
locations."/" = {
# NixOS already handles mime types, no need to add them to the NGINX config
extraConfig = ''
include ${pkgs.nginx}/conf/mime.types;
autoindex off;
try_files $uri $uri/index.html $uri.html =404;
'';
Expand Down Expand Up @@ -120,7 +120,7 @@ in {
rule = "Host(`git.air1.one`)";
service = "gitea";
entryPoints = ["websecure"];
tls = {};
tls.certResolver = "le";
};
services.gitea.loadBalancer.servers = [
{url = "http://127.0.0.1:3031";}
Expand Down
2 changes: 1 addition & 1 deletion pkgs/website/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
base_url = "http://localhost"
base_url = "http://air1.one"
theme = "zola.386"

default_language = "en"
Expand Down
Loading