Add neovim as default editor

Change-Id: I6487378b680210cc815234a1d9d06ac0b3aa9309
Reviewed-on: https://git.clicks.codes/c/Coded/nixConfig/+/98
Reviewed-by: Samuel Shuert <coded@clicks.codes>
Tested-by: Samuel Shuert <coded@clicks.codes>
diff --git a/modules/c.nix b/modules/c.nix
new file mode 100644
index 0000000..f0279c8
--- /dev/null
+++ b/modules/c.nix
@@ -0,0 +1,8 @@
+{ pkgs, ... }: {
+  environment.systemPackages = with pkgs; [
+    libgccjit
+    binutils
+    gcc
+    go
+  ];
+}
diff --git a/modules/kde_plasma.nix b/modules/kde_plasma.nix
new file mode 100644
index 0000000..55b028f
--- /dev/null
+++ b/modules/kde_plasma.nix
@@ -0,0 +1,14 @@
+{ pkgs, ... }: {
+  environment.plasma5.excludePackages = with pkgs.libsForQt5; [
+    okular
+    konsole
+  ];
+
+  environment.systemPackages = with pkgs; [
+    sweet-nova
+    pitch-black
+    adapta-kde-theme
+    ocs-url
+  ];
+
+}
diff --git a/modules/neovim.nix b/modules/neovim.nix
new file mode 100644
index 0000000..bd5ba2c
--- /dev/null
+++ b/modules/neovim.nix
@@ -0,0 +1,6 @@
+{ pkgs, ...}: {
+  home-manager.users.coded.programs.neovim = {
+    enable = true;
+    defaultEditor = true;
+  };
+}
diff --git a/modules/shell.nix b/modules/shell.nix
index 2deaa16..66bf1ea 100644
--- a/modules/shell.nix
+++ b/modules/shell.nix
@@ -5,6 +5,7 @@
   environment.systemPackages = with pkgs; [
     bmon
     wget
+    ripgrep
   ];
 
   home-manager.users.coded.programs = {
@@ -23,6 +24,9 @@
         pnpx = "pnpm dlx";
         print3d = "sudo /run/current-system/sw/bin/pronsole.py";
         nh = "wget -O ~/Documents/hashCheck $1 | nix hash file ~/Documents/hashCheck";
+        edit = "nvim";
+        neovim = "nvim";
+        v = "nvim";
       };
 
       dirHashes = { code = "$HOME/Documents/programming"; };
diff --git a/modules/video.nix b/modules/video.nix
index 6ba96d0..00fdb9f 100644
--- a/modules/video.nix
+++ b/modules/video.nix
@@ -9,6 +9,8 @@
   # For 32 bit applications
   hardware.opengl.driSupport32Bit = true;
 
+  programs.dconf.enable = true;
+
   services.xserver = {
     layout = "us";
     xkbVariant = "";
diff --git a/modules/xdgopen.nix b/modules/xdgopen.nix
index 2ce8358..a3b086d 100644
--- a/modules/xdgopen.nix
+++ b/modules/xdgopen.nix
@@ -3,10 +3,4 @@
     enable = true;
     xdgOpenUsePortal = true;
   };
-  xdg.mime = {
-    defaultApplications = {
-      "x-scheme-handler/http" = "firefox.desktop";
-      "x-scheme-handler/https" = "firefox.desktop";
-    };
-  };
 }