initial commit

This commit is contained in:
Sean Dugre 2025-11-30 10:16:23 -05:00
commit fe383f9333
7 changed files with 2073 additions and 0 deletions

19
.direnv/bin/nix-direnv-reload Executable file
View file

@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -e
if [[ ! -d "/home/sdugre/www/testsite" ]]; then
echo "Cannot find source directory; Did you move it?"
echo "(Looking for "/home/sdugre/www/testsite")"
echo 'Cannot force reload with this script - use "direnv reload" manually and then try again'
exit 1
fi
# rebuild the cache forcefully
_nix_direnv_force_reload=1 direnv exec "/home/sdugre/www/testsite" true
# Update the mtime for .envrc.
# This will cause direnv to reload again - but without re-building.
touch "/home/sdugre/www/testsite/.envrc"
# Also update the timestamp of whatever profile_rc we have.
# This makes sure that we know we are up to date.
touch -r "/home/sdugre/www/testsite/.envrc" "/home/sdugre/www/testsite/.direnv"/*.rc

View file

@ -0,0 +1 @@
/nix/store/q6s56lskwgy5487ik2npqqacfs9gs7p6-nix-shell-env

File diff suppressed because it is too large Load diff

1
.envrc Normal file
View file

@ -0,0 +1 @@
use nix

5
archetypes/default.md Normal file
View file

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

3
hugo.toml Normal file
View file

@ -0,0 +1,3 @@
baseURL = 'https://testsite.org/'
languageCode = 'en-us'
title = 'My New Hugo Test Site'

7
shell.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShellNoCC {
packages = [
pkgs.hugo
pkgs.just
];
}