Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit f97a703
Author: Ivan Dimitrov <[email protected]>
Date:   Fri Dec 15 06:42:21 2023 +0200

    fix build error

commit dc759d9
Author: Ivan Dimitrov <[email protected]>
Date:   Thu Dec 14 18:05:53 2023 +0200

    birthday easter egg maybe not working at all but whatever

commit 60dbe3f
Author: Ivan Dimitrov <[email protected]>
Date:   Fri Dec 8 17:47:33 2023 +0200

    newlines

commit 1a7230c
Author: Ivan Dimitrov <[email protected]>
Date:   Fri Dec 8 17:46:50 2023 +0200

    links

commit e1b9e5b
Author: Ivan Dimitrov <[email protected]>
Date:   Fri Dec 1 15:49:52 2023 +0200

    add public key and some svg shadow

commit b5dfb5b
Author: Ivan Dimitrov <[email protected]>
Date:   Wed Nov 29 16:32:17 2023 +0200

    make it lighter

commit b065b62
Author: Ivan Dimitrov <[email protected]>
Date:   Wed Nov 29 15:58:10 2023 +0200

    formatting

commit bb5bd2e
Author: Ivan Dimitrov <[email protected]>
Date:   Wed Nov 29 15:57:22 2023 +0200

    metadata and some optimizations

commit 3d1fd8a
Author: Ivan Dimitrov <[email protected]>
Date:   Wed Nov 29 15:38:28 2023 +0200

    sitemap and robots

commit 327f4b7
Author: Ivan Dimitrov <[email protected]>
Date:   Wed Nov 29 10:06:47 2023 +0200

    flake update

commit 16e08c8
Author: Ivan Dimitrov <[email protected]>
Date:   Tue Nov 28 19:11:41 2023 +0200

    flake update

commit a7eb051
Author: Ivan Dimitrov <[email protected]>
Date:   Sun Nov 26 12:59:41 2023 +0200

    set build inputs to only node

commit 5977610
Author: Ivan Dimitrov <[email protected]>
Date:   Sun Nov 26 12:55:12 2023 +0200

    making the site run on nixos
  • Loading branch information
ivandimitrov8080 committed Dec 17, 2023
1 parent c178ca9 commit 180e38a
Show file tree
Hide file tree
Showing 14 changed files with 6,262 additions and 20 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

DNS: idimitrov.dev

I2P: s7zr3m6jvhiu6feourmgccxvxbrlnfbugxcn2m45ms44t24q2zgq.b32.i2p

TOR: http://sxfx23zafag4lixkb4s6zwih7ga5jnzfgtgykcerd354bvb6u7alnkid.onion

## Getting Started

First, run the development server:
Expand Down
Binary file modified bun.lockb
Binary file not shown.
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,23 @@
${tmuxConfig}
'';
};
packages.${system}.default = pkgs.buildNpmPackage rec {
buildInputs = with pkgs; [ nodejs_20 ];
pname = "idimitrov.dev";
version = "0.0.1";
src = ./.;
npmDepsHash = "sha256-DtnXn7/FP9Ccc5qXKQezi9StKOnhZnqVSbz0HJ3TQ0g=";
postInstall = ''
mkdir -p $out/bin/
cp -r ./.next/standalone/* $out/
cp -r ./.next/standalone/.* $out/
cp -r ./.next/static $out/.next/
cp -r ./public $out/
rm -rf $out/lib
echo "${pkgs.nodejs_20}/bin/node $out/server.js" > $out/bin/$pname
chmod +x $out/bin/$pname
'';
};
};
}

3 changes: 2 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export"
output: "standalone",
images: { unoptimized: true }
}

module.exports = nextConfig
Loading

0 comments on commit 180e38a

Please sign in to comment.