initial commit
This commit is contained in:
commit
fe383f9333
7 changed files with 2073 additions and 0 deletions
19
.direnv/bin/nix-direnv-reload
Executable file
19
.direnv/bin/nix-direnv-reload
Executable 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
|
||||||
1
.direnv/nix-profile-25.11-c9asdiqw1rf5qwdj
Symbolic link
1
.direnv/nix-profile-25.11-c9asdiqw1rf5qwdj
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/q6s56lskwgy5487ik2npqqacfs9gs7p6-nix-shell-env
|
||||||
2037
.direnv/nix-profile-25.11-c9asdiqw1rf5qwdj.rc
Normal file
2037
.direnv/nix-profile-25.11-c9asdiqw1rf5qwdj.rc
Normal file
File diff suppressed because it is too large
Load diff
1
.envrc
Normal file
1
.envrc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
use nix
|
||||||
5
archetypes/default.md
Normal file
5
archetypes/default.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
+++
|
||||||
|
date = '{{ .Date }}'
|
||||||
|
draft = true
|
||||||
|
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||||
|
+++
|
||||||
3
hugo.toml
Normal file
3
hugo.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
baseURL = 'https://testsite.org/'
|
||||||
|
languageCode = 'en-us'
|
||||||
|
title = 'My New Hugo Test Site'
|
||||||
7
shell.nix
Normal file
7
shell.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
pkgs.mkShellNoCC {
|
||||||
|
packages = [
|
||||||
|
pkgs.hugo
|
||||||
|
pkgs.just
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue