many things:

* flake.lock update, with code changes needed.
* miniserve.rs static directory listing.
* change from typst-ls to tinymist for typst lsp
* deletion of hugo template.
* change from self-built duckdns module to nixpkgs one.
This commit is contained in:
Gabe Venberg 2025-02-24 11:39:38 +01:00
parent 73451d607b
commit e8a5bb3bc9
29 changed files with 103 additions and 267 deletions

View file

@ -3,12 +3,12 @@
path = ./default;
description = "a basic blank devshell flake";
};
hugo = {
path = ./hugo;
description = "a flake for getting a hugo website up and running";
};
latex = {
path = ./latex;
description = "A flake containing a basic latex environment";
};
typst = {
path= ./typst;
description = "A flake containing a basic typst environment";
};
}

View file

@ -1 +0,0 @@
use flake

View file

@ -1,16 +0,0 @@
# Generated files by hugo
/public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json
# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux
# Temporary lock file while building
/.hugo_build.lock
# for direnv
.direnv

View file

@ -1,5 +0,0 @@
+++
date = '{{ .Date }}'
draft = true
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+++

View file

@ -1,26 +0,0 @@
{
description = "hugo development environment";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
in
with pkgs; {
devShells.default = mkShell {
buildInputs = [
hugo
just
rsync
];
};
});
}

View file

@ -1,22 +0,0 @@
languageCode = 'en-us'
baseURL = "https://example.com"
title = "Title"
enableRobotsTXT = true
[markup.goldmark.extensions]
definitionList = true
footnote = true
strikethrough = true
table = true
taskList = true
[markup.goldmark.extensions.extras.insert]
enable = true
[markup.goldmark.extensions.extras.mark]
enable = true
[markup.goldmark.extensions.extras.subscript]
enable = true
[markup.goldmark.extensions.extras.superscript]
enable = true
[security]
enableInlineShortcodes = true

View file

@ -1,10 +0,0 @@
preview:
hugo serve --buildDrafts --buildExpired --buildFuture --navigateToChanged
USER:='root'
HOST:='1.1.1.1'
DIR:='/srv/folder'
deploy:
hugo --minify
rsync -rvz --delete public/ {{USER}}@{{HOST}}:{{DIR}} # this will delete everything on the server that's not in the local public folder

View file

@ -18,7 +18,6 @@
devShells.default = mkShell {
buildInputs = [
typst
just
];
};
});

View file

@ -1,5 +0,0 @@
preview:
typst watch main.typ
compile:
typst compile main.typ