Nix: move to devshell

This commit is contained in:
Jan Kremer 2024-04-04 22:28:32 +02:00
parent f91ff03006
commit 8c9f075a4e
Signed by: jan
GPG key ID: A7DA689CB3B078EC
5 changed files with 153 additions and 26 deletions

23
devshell.toml Normal file
View file

@ -0,0 +1,23 @@
[devshell]
name = "hugo website"
[[commands]]
package = "hugo"
[[commands]]
package = "go"
[[commands]]
command = "hugo server"
name = "server"
help = "Server"
[[commands]]
command = "hugo server --buildDrafts"
name = "drafts"
help = "Server including drafts"
[[commands]]
command = "hugo"
name = "build"
help = "Build site usually not necessary"