summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Creating a devshell with Nix flakes.md24
-rw-r--r--Game Engine Development.md8
2 files changed, 32 insertions, 0 deletions
diff --git a/Creating a devshell with Nix flakes.md b/Creating a devshell with Nix flakes.md
new file mode 100644
index 0000000..139d3f9
--- /dev/null
+++ b/Creating a devshell with Nix flakes.md
@@ -0,0 +1,24 @@
+```nix
+{
+ description = "Example flake with a devShell";
+
+ inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
+
+ outputs = { self, nixpkgs}:
+ let
+ system = "x86_64-linux";
+ pkgs = import nixpkgs { inherit system; };
+ in {
+ devShells.x86_64-linux.default = pkgs.mkShell {
+ buildInputs = with pkgs; [
+ hello
+ ];
+ shellHook = ''
+ echo "Welcome to the devShell!"
+ '';
+ };
+ };
+}
+```
+
+To enter: `nix develop`. Or use nix direnv and put a `.envrc` in place with `use flake`. \ No newline at end of file
diff --git a/Game Engine Development.md b/Game Engine Development.md
new file mode 100644
index 0000000..a1b5bb1
--- /dev/null
+++ b/Game Engine Development.md
@@ -0,0 +1,8 @@
+
+# Resources
+
+### Book
+https://foundationsofgameenginedev.com/
+https://www.gameenginebook.com/
+### Blog
+https://www.gamedesigning.org/learn/make-a-game-engine/ \ No newline at end of file