https://noogle.dev - nix function exploring.
Go to file
2022-11-26 10:36:08 +01:00
components INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
pages INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
public INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
styles INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
types INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
.envrc INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
.eslintrc.json INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
.gitignore INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
createEmotionCache.ts INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
flake.lock INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
flake.nix INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
next.config.js INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
nix_systems INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
package-lock.json INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
package.json INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
README.md INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00
tsconfig.json INIT: first prototype of frontend 2022-11-26 10:36:08 +01:00

Static page with nextjs example

  • Generates a static page
  • Includes custom Image loader for static page generation

Build

! The build step is completly independent of develop step and can be run right after checkout

nix build .#

This should create to following result:

  • static/
    • index.html
    • favicon.ico
    • 404.html
    • vercel-svg
    • _next/
      • static/...
      • ...

Develop

nix develop

This command creates the node_modules folder with all needed dependencies