Commit graph

67 commits

Author SHA1 Message Date
Tristan Daniël Maat 5163ef9d6a
flake.lock: Update
Flake lock file updates:

• Updated input 'dream2nix':
    'github:nix-community/dream2nix/0c064fa9dd025069cc215b0a8b4eb5ea734aceb0' (2023-06-06)
  → 'github:nix-community/dream2nix/262198033e23e9ee832f0cc8133d38f07598f555' (2023-12-13)
• Removed input 'dream2nix/all-cabal-json'
• Removed input 'dream2nix/crane'
• Removed input 'dream2nix/devshell'
• Removed input 'dream2nix/drv-parts'
• Removed input 'dream2nix/drv-parts/flake-compat'
• Removed input 'dream2nix/drv-parts/flake-parts'
• Removed input 'dream2nix/drv-parts/nixpkgs'
• Removed input 'dream2nix/flake-compat'
• Removed input 'dream2nix/flake-parts'
• Removed input 'dream2nix/flake-parts/nixpkgs-lib'
• Removed input 'dream2nix/flake-utils-pre-commit'
• Removed input 'dream2nix/ghc-utils'
• Removed input 'dream2nix/gomod2nix'
• Removed input 'dream2nix/mach-nix'
• Removed input 'dream2nix/nix-pypi-fetcher'
• Updated input 'dream2nix/nixpkgs':
    'github:NixOS/nixpkgs/f634d427b0224a5f531ea5aa10c3960ba6ec5f0f' (2022-10-12)
  → 'github:NixOS/nixpkgs/e97b3e4186bcadf0ef1b6be22b8558eab1cdeb5d' (2023-12-11)
• Removed input 'dream2nix/nixpkgsV1'
• Removed input 'dream2nix/poetry2nix'
• Removed input 'dream2nix/pre-commit-hooks'
• Removed input 'dream2nix/pre-commit-hooks/flake-utils'
• Removed input 'dream2nix/pre-commit-hooks/nixpkgs'
• Removed input 'dream2nix/pruned-racket-catalog'
• Added input 'dream2nix/purescript-overlay':
    'github:thomashoneyman/purescript-overlay/047c7933abd6da8aa239904422e22d190ce55ead' (2023-09-29)
• Added input 'dream2nix/purescript-overlay/nixpkgs':
    follows 'dream2nix/nixpkgs'
• Added input 'dream2nix/purescript-overlay/slimlock':
    'github:thomashoneyman/slimlock/b5c6cdcaf636ebbebd0a1f32520929394493f1a6' (2023-07-06)
• Added input 'dream2nix/purescript-overlay/slimlock/nixpkgs':
    follows 'dream2nix/purescript-overlay/nixpkgs'
• Added input 'dream2nix/pyproject-nix':
    'github:davhau/pyproject.nix/5a06a2697b228c04dd2f35659b4b659ca74f7aeb' (2023-12-13)
• Updated input 'fenix':
    'github:nix-community/fenix/6fbeedcd2fc1fba77152e13fd7492824d77a4060' (2023-06-13)
  → 'github:nix-community/fenix/c6d82e087ac96f24b90c5787a17e29a72566c2b4' (2023-12-31)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/1f1fe81f0db301124b3026bd2940294526cdd852' (2023-06-12)
  → 'github:rust-lang/rust-analyzer/e872f5085cf5b0e44558442365c1c033d486eff2' (2023-12-30)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/bb8b5735d6f7e06b9ddd27de115b0600c1ffbdb4' (2023-06-11)
  → 'github:nixos/nixpkgs/9dd7699928e26c3c00d5d46811f1358524081062' (2023-12-30)
2023-12-31 18:41:28 +01:00
Tristan Daniël Maat c573a6f818
templates: Update to new font mixins 2023-06-13 21:34:01 +01:00
Tristan Daniël Maat aba022379d
templates: Update npm dependencies 2023-06-13 17:45:57 +01:00
Tristan Daniël Maat 19be07f0d0
server: Update cargo dependencies 2023-06-13 17:45:54 +01:00
Tristan Daniël Maat 3727f41c1f
flake.lock: Update
Flake lock file updates:

• Updated input 'dream2nix':
    'github:nix-community/dream2nix/34a80ab215f1f24068ea9c76f3a7e5bc19478653' (2023-04-04)
  → 'github:nix-community/dream2nix/0c064fa9dd025069cc215b0a8b4eb5ea734aceb0' (2023-06-06)
• Updated input 'dream2nix/crane':
    'github:ipetkov/crane/59b31b41a589c0a65e4a1f86b0e5eac68081468b' (2022-12-13)
  → 'github:ipetkov/crane/445a3d222947632b5593112bb817850e8a9cf737' (2023-04-11)
• Updated input 'dream2nix/drv-parts':
    'github:davhau/drv-parts/ced8a52f62b0a94244713df2225c05c85b416110' (2023-03-30)
  → 'github:davhau/drv-parts/e8c2ec1157dc1edb002989669a0dbd935f430201' (2023-04-05)
• Updated input 'fenix':
    'github:nix-community/fenix/0d8c0d08db5fe6e5d995f4584f991ad60bbb1673' (2023-04-17)
  → 'github:nix-community/fenix/6fbeedcd2fc1fba77152e13fd7492824d77a4060' (2023-06-13)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/bab80dae445fd576cb4cc22ba208e9fbc39dc18d' (2023-04-16)
  → 'github:rust-lang/rust-analyzer/1f1fe81f0db301124b3026bd2940294526cdd852' (2023-06-12)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/de66115c552acc4e0c0f92c5a5efb32e37dfa216' (2023-04-17)
  → 'github:nixos/nixpkgs/bb8b5735d6f7e06b9ddd27de115b0600c1ffbdb4' (2023-06-11)
2023-06-13 17:45:51 +01:00
Tristan Daniël Maat 2ca66c4fe1
checks: Add missing derivation name 2023-04-17 20:52:28 +01:00
Tristan Daniël Maat 50ca77013a
flake.lock: Update
Flake lock file updates:

• Updated input 'dream2nix':
    'github:nix-community/dream2nix/f11fa0fcedb1a966e86904d772c1574f36f3dfc9' (2023-01-19)
  → 'github:nix-community/dream2nix/34a80ab215f1f24068ea9c76f3a7e5bc19478653' (2023-04-04)
• Removed input 'dream2nix/alejandra'
• Removed input 'dream2nix/alejandra/fenix'
• Removed input 'dream2nix/alejandra/fenix/nixpkgs'
• Removed input 'dream2nix/alejandra/fenix/rust-analyzer-src'
• Removed input 'dream2nix/alejandra/flakeCompat'
• Removed input 'dream2nix/alejandra/nixpkgs'
• Added input 'dream2nix/drv-parts':
    'github:davhau/drv-parts/ced8a52f62b0a94244713df2225c05c85b416110' (2023-03-30)
• Added input 'dream2nix/drv-parts/flake-compat':
    follows 'dream2nix/flake-compat'
• Added input 'dream2nix/drv-parts/flake-parts':
    follows 'dream2nix/flake-parts'
• Added input 'dream2nix/drv-parts/nixpkgs':
    follows 'dream2nix/nixpkgs'
• Added input 'dream2nix/flake-compat':
    'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
• Updated input 'dream2nix/flake-parts':
    'github:hercules-ci/flake-parts/d591857e9d7dd9ddbfba0ea02b43b927c3c0f1fa' (2022-11-14)
  → 'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09)
• Updated input 'dream2nix/flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/34c5293a71ffdb2fe054eb5288adc1882c1eb0b1?dir=lib' (2022-10-09)
  → follows 'dream2nix/nixpkgs'
• Added input 'dream2nix/nixpkgsV1':
    'github:NixOS/nixpkgs/5eb98948b66de29f899c7fe27ae112a47964baf8' (2023-03-11)
• Added input 'dream2nix/pruned-racket-catalog':
    'github:nix-community/pruned-racket-catalog/c8b89557fb53b36efa2ee48a769c7364df0f6262' (2023-01-01)
• Updated input 'fenix':
    'github:nix-community/fenix/d8067f4d1d3d30732703209bec5ca7d62aaececc' (2023-01-20)
  → 'github:nix-community/fenix/0d8c0d08db5fe6e5d995f4584f991ad60bbb1673' (2023-04-17)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/6e52c64031825920983515b9e975e93232739f7f' (2023-01-19)
  → 'github:rust-lang/rust-analyzer/bab80dae445fd576cb4cc22ba208e9fbc39dc18d' (2023-04-16)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/b83e7f5a04a3acc8e92228b0c4bae68933d504eb' (2023-01-17)
  → 'github:nixos/nixpkgs/de66115c552acc4e0c0f92c5a5efb32e37dfa216' (2023-04-17)
2023-04-17 19:57:30 +01:00
Tristan Daniël Maat 9259e130e6
templates: Update npm dependencies 2023-04-17 19:56:50 +01:00
Tristan Daniël Maat a8ebfc33a4
server: Update cargo dependencies 2023-04-17 19:04:13 +01:00
Tristan Daniël Maat dcffae54fd
templates: Update npm dependencies 2023-01-21 05:26:18 +00:00
Tristan Daniël Maat 13fa5cbdc0
server: Update cargo dependencies 2023-01-21 05:23:43 +00:00
Tristan Daniël Maat fc55c9a9b8
flake.lock: Update
Flake lock file updates:

• Updated input 'dream2nix':
    'github:nix-community/dream2nix/9f6911c78dcb0832f7fcc955e847db1a5a9ce29a' (2023-01-02)
  → 'github:nix-community/dream2nix/f11fa0fcedb1a966e86904d772c1574f36f3dfc9' (2023-01-19)
• Updated input 'fenix':
    'github:nix-community/fenix/eb6583fcd626051c4d284f2fb51cd2659a43e7f6' (2023-01-04)
  → 'github:nix-community/fenix/d8067f4d1d3d30732703209bec5ca7d62aaececc' (2023-01-20)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/a97c71f92d574cb5104e3e1246eb9038d1a214a2' (2023-01-03)
  → 'github:rust-lang/rust-analyzer/6e52c64031825920983515b9e975e93232739f7f' (2023-01-19)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a9eedea7232f5d00f0aca7267efb69a54da1b8a1' (2023-01-03)
  → 'github:nixos/nixpkgs/b83e7f5a04a3acc8e92228b0c4bae68933d504eb' (2023-01-17)
2023-01-21 05:23:22 +00:00
Tristan Daniël Maat d142e98788
flake.nix: Add update script 2023-01-21 05:09:31 +00:00
Tristan Daniël Maat 5c537df885
flake.nix: Fix broken template devshell 2023-01-21 04:49:37 +00:00
Tristan Daniël Maat b2894e4fef
treewide: Update and adapt to new dream2nix project.toml 2023-01-05 02:13:13 +00:00
Tristan Daniël Maat f034fbe7e4
templates: Update npm packages 2022-12-15 20:49:50 +00:00
Tristan Daniël Maat c38292b0f5
server: Update cargo packages 2022-12-10 19:08:16 +00:00
Tristan Daniël Maat 34fa440f52
flake.lock: Update
Flake lock file updates:

• Updated input 'dream2nix':
    'github:nix-community/dream2nix/25be741ec92c77b8308ca6a7ab89593fe37b6542' (2022-09-16)
  → 'github:nix-community/dream2nix/a46b77e2243415ff5eb76b8b35277c0a9b9b072c' (2022-12-10)
• Added input 'dream2nix/all-cabal-json':
    'github:nix-community/all-cabal-json/d7c0434eebffb305071404edcf9d5cd99703878e' (2022-10-12)
• Updated input 'dream2nix/crane':
    'github:ipetkov/crane/d9f394e4e20e97c2a60c3ad82c2b6ef99be19e24' (2022-08-30)
  → 'github:ipetkov/crane/2243fb9c872de25cb564a02d324ea6a5b9853052' (2022-12-05)
• Updated input 'dream2nix/devshell':
    'github:numtide/devshell/fc7a3e3adde9bbcab68af6d1e3c6eb738e296a92' (2022-05-30)
  → 'github:numtide/devshell/e3dc3e21594fe07bdb24bdf1c8657acaa4cb8f66' (2022-09-17)
• Added input 'dream2nix/flake-parts':
    'github:hercules-ci/flake-parts/d591857e9d7dd9ddbfba0ea02b43b927c3c0f1fa' (2022-11-14)
• Added input 'dream2nix/flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/34c5293a71ffdb2fe054eb5288adc1882c1eb0b1?dir=lib' (2022-10-09)
• Added input 'dream2nix/ghc-utils':
    'git+https://gitlab.haskell.org/bgamari/ghc-utils?ref=refs%2fheads%2fmaster&rev=bb3a2d3dc52ff0253fb9c2812bd7aa2da03e0fea' (2022-09-10)
• Added input 'dream2nix/nix-pypi-fetcher':
    'github:DavHau/nix-pypi-fetcher/a9885ac6a091576b5195d547ac743d45a2a615ac' (2022-11-21)
• Updated input 'dream2nix/nixpkgs':
    'github:NixOS/nixpkgs/d80993b5f885515254746ba6d1917276ee386149' (2022-07-12)
  → 'github:NixOS/nixpkgs/f634d427b0224a5f531ea5aa10c3960ba6ec5f0f' (2022-10-12)
• Updated input 'dream2nix/poetry2nix':
    'github:nix-community/poetry2nix/aee8f04296c39d88155e05d25cfc59dfdd41cc77' (2021-09-30)
  → 'github:nix-community/poetry2nix/289efb187123656a116b915206e66852f038720e' (2022-10-28)
• Updated input 'fenix':
    'github:nix-community/fenix/263cd7f991c07a9592a6e825bfc37b23b00eb244' (2022-09-17)
  → 'github:nix-community/fenix/2745d0c04a278231140125b81996d23fe00d923c' (2022-12-10)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/2e9f1204ca01c3e20898d4a67c8b84899d394a88' (2022-09-11)
  → 'github:rust-lang/rust-analyzer/14492043dba29d626ea98667c3c7c0002f75feff' (2022-12-09)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/178fea1414ae708a5704490f4c49ec3320be9815' (2022-09-15)
  → 'github:nixos/nixpkgs/7a6a010c3a1d00f8470a5ca888f2f927f1860a19' (2022-12-08)
2022-12-10 19:01:41 +00:00
Tristan Daniël Maat 5d037f9122
module: Fix broken defaults for the address to listen on 2022-10-14 12:18:23 +01:00
Tristan Daniël Maat 3155d665ff
checks: Add assertion that the module defaults work 2022-10-14 12:18:20 +01:00
Tristan Daniël Maat 6c29bc5db0
templates: Fix awkward typed title wrapping on phones
Fixes #19
2022-10-10 12:47:31 +01:00
Tristan Daniël Maat 767961cde4
templates: Fix scss indenting in emacs 2022-10-10 12:47:24 +01:00
Tristan Daniël Maat b1a83cdf2f
templates/src/music: Fix visualizer aspect ratio 2022-10-05 12:35:08 +01:00
Tristan Daniël Maat f8b7b45260
templates: Add project run command to dir-locals 2022-10-05 12:35:05 +01:00
Tristan Daniël Maat 73b9fbf612
server: Limit the scope of a mutable variable 2022-10-05 12:35:03 +01:00
Tristan Daniël Maat 4fb60f251a
server: Set up logging by default 2022-10-05 12:35:00 +01:00
Tristan Daniël Maat 9189add418
server: Add dir-locals with server-specific dev settings 2022-10-05 12:34:58 +01:00
Tristan Daniël Maat b88937af54
flake.nix: Add basic check for opening the home page 2022-10-05 12:34:56 +01:00
Tristan Daniël Maat b76e61a55a
flake.nix: Add NixOS module 2022-10-05 12:34:53 +01:00
Tristan Daniël Maat 38c2999291
flake.nix: Add app for convenient testing with nix run 2022-10-05 12:34:50 +01:00
Tristan Daniël Maat 8b83eb74f1
templates: Update dependencies 2022-10-05 12:34:48 +01:00
Tristan Daniël Maat 07a0809b4d
templates/package.yaml: Move posthtml config into package.yaml 2022-10-05 12:34:46 +01:00
Tristan Daniël Maat 9fb195819e
templates: Handle package.json conversion in direnv
By splitting out the check for package.yaml into a separate check, we
can avoid the constant massive shell reloads for the nix shell.
2022-10-05 12:34:43 +01:00
Tristan Daniël Maat 76f5246814
Integrate templates project 2022-10-05 12:34:38 +01:00
Tristan Daniël Maat 3a5d4b9756
flake.nix: Update inputs and fix nix run command 2022-09-16 17:43:51 +01:00
Tristan Daniël Maat f0f799a693
template_utils.rs: Add error message when a template can't be found 2022-09-16 17:42:41 +01:00
Tristan Daniël Maat 20a6291ac9
main.rs: Add comment about better error handling 2022-09-16 17:22:46 +01:00
Tristan Daniël Maat b653d3a3f6
errors.rs: Remove superfluous comment 2022-09-16 17:18:03 +01:00
Tristan Daniël Maat 527c476fb4
.dir-locals.el: Set up projectile run command 2022-09-16 17:16:32 +01:00
Tristan Daniël Maat a960bf4b27
Use actix-web 4.2.1 features to clean up resource handling 2022-09-16 17:16:12 +01:00
Tristan Daniël Maat 9035cf5419
Implement template args more nicely 2022-09-12 18:15:01 +01:00
Tristan Daniël Maat 627a7525f3
Factor out resources 2022-09-12 18:14:58 +01:00
Tristan Daniël Maat 91e905730e
Handle post to mail page 2022-09-12 18:14:52 +01:00
Tristan Daniël Maat 2847dad110
Add index page rendering 2022-09-12 18:14:06 +01:00
Tristan Daniël Maat ab405fc1f8
Add proper error handling 2022-09-12 18:13:54 +01:00
Tristan Daniël Maat 98d71f0311
Add dev mode 2022-08-16 23:51:07 +01:00
Tristan Daniël Maat d75acc8d05
Clean up error handling, logging and 404 correctly for static files 2022-08-16 23:50:54 +01:00
Tristan Daniël Maat 0f736978f3
Reimplement basic static (+handlebars) file hosting with actix-web 2022-08-15 01:26:45 +01:00
Tristan Daniël Maat 26ec66d03e
Refactor and update flake 2022-08-14 00:28:06 +01:00
Tristan Daniël Maat e7c9222070
Update to NixOS 22.05 2022-06-20 14:46:36 +01:00