Zander Hawke пре 1 година
родитељ
комит
d80f44ec87

+ 0 - 3
modules/home-manager/default.nix

@@ -1,6 +1,3 @@
 {
   ghostty = import ./programs/ghostty.nix;
-  # imports = [
-  #   ./programs/ghostty.nix
-  # ];
 }

+ 2 - 0
users/thomas/cli/shell-aliases.nix

@@ -2,6 +2,8 @@
   "..." = "cd ../..";
   "...." = "cd ../../..";
 
+  la = "ls -la";
+
   # Git stuff
   g = "git";
   gco = "git checkout ";

+ 0 - 2
users/thomas/default.nix

@@ -6,7 +6,6 @@ in
 {
   imports = [
     outputs.modules.global.nix-config
-    outputs.modules.home-manager.ghostty
 
     ./cli
   ];
@@ -18,7 +17,6 @@ in
     username = lib.mkDefault "thomas";
     homeDirectory = lib.mkDefault "${homeLocation}/${config.home.username}";
     sessionVariables = {
-      EDITOR = "${pkgs.neovim}/bin/nvim";
       SHELL = "${pkgs.nushell}/bin/nu";
     };
     stateVersion = lib.mkDefault "24.11";

+ 7 - 1
users/thomas/desktop/ghostty.nix

@@ -1,9 +1,15 @@
-{ pkgs, config, ... }:
+{ pkgs, config, outputs, ... }:
 {
+  imports = [
+    outputs.modules.home-manager.ghostty
+  ];
+
   programs.ghostty-darwin = {
     enable = true;
 
+    # installBatSyntax = true;
     # installVimSyntax = true;
+
     enableBashIntegration = true;
     enableZshIntegration = true;
     enableFishIntegration = true;

+ 5 - 1
users/thomas/nvim/default.nix

@@ -5,7 +5,11 @@ let
 
   # Merge all plugin configurations directly from imports
   nixvim = recursiveUpdateMany [
-    ({ enable = true; })
+    ({ 
+      enable = true;
+      defaultEditor = true;
+      vimdiffAlias = true;
+    })
     (import ./colorschemes.nix)
     (import ./keymaps.nix)
     (import ./options.nix)