From a91f6a4feb9c1e3f66b41155046ab3ac1eedd031 Mon Sep 17 00:00:00 2001
From: Snorre <snorre@altschul.dk>
Date: Sat, 5 Apr 2025 00:45:11 +0200
Subject: [PATCH] godot

---
 .gitignore | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 flake.nix  |  8 +++---
 2 files changed, 78 insertions(+), 4 deletions(-)
 create mode 100644 .gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..efec83d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,74 @@
+# This .gitignore file should be placed at the root of your Unity project directory
+#
+# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
+#
+.utmp/
+/[Ll]ibrary/
+/[Tt]emp/
+/[Oo]bj/
+/[Bb]uild/
+/[Bb]uilds/
+/[Ll]ogs/
+/[Uu]ser[Ss]ettings/
+
+# MemoryCaptures can get excessive in size.
+# They also could contain extremely sensitive data
+/[Mm]emoryCaptures/
+
+# Recordings can get excessive in size
+/[Rr]ecordings/
+
+# Uncomment this line if you wish to ignore the asset store tools plugin
+# /[Aa]ssets/AssetStoreTools*
+
+# Autogenerated Jetbrains Rider plugin
+/[Aa]ssets/Plugins/Editor/JetBrains*
+
+# Visual Studio cache directory
+.vs/
+
+# Gradle cache directory
+.gradle/
+
+# Autogenerated VS/MD/Consulo solution and project files
+ExportedObj/
+.consulo/
+*.csproj
+*.unityproj
+*.sln
+*.suo
+*.tmp
+*.user
+*.userprefs
+*.pidb
+*.booproj
+*.svd
+*.pdb
+*.mdb
+*.opendb
+*.VC.db
+
+# Unity3D generated meta files
+*.pidb.meta
+*.pdb.meta
+*.mdb.meta
+
+# Unity3D generated file on crash reports
+sysinfo.txt
+
+# Builds
+*.apk
+*.aab
+*.unitypackage
+*.unitypackage.meta
+*.app
+
+# Crashlytics generated file
+crashlytics-build.properties
+
+# Packed Addressables
+/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*
+
+# Temporary auto-generated Android Assets
+/[Aa]ssets/[Ss]treamingAssets/aa.meta
+/[Aa]ssets/[Ss]treamingAssets/aa/*
diff --git a/flake.nix b/flake.nix
index f74c0de..8143f76 100644
--- a/flake.nix
+++ b/flake.nix
@@ -7,17 +7,17 @@
     # pkgs = nixpkgs.legacyPackages.x86_64-linux;
     pkgs = import nixpkgs {
       system = "x86_64-linux";
-      config.allowUnfree = true;
+      config.permittedInsecurePackages = [
+        "dotnet-sdk-6.0.428"
+      ];
     };
   in {
     formatter.x86_64-linux = pkgs.alejandra;
     devShells.x86_64-linux = {
       default = with pkgs;
         mkShell {
-          
           buildInputs = with pkgs; [
-            unityhub
-            vscode
+            godot_4-mono
           ];
         };
     };