From cb30d21ffd87d057c73299f6e137c5b98676c626 Mon Sep 17 00:00:00 2001 From: Alexandre1a Date: Tue, 30 Dec 2025 10:34:08 +0100 Subject: [PATCH] Started reworking Zed config --- README.md | 3 +++ hosts/common/home.nix | 2 +- modules/common/ssh.nix | 1 - modules/home-manager/zed.nix | 20 ++++++++++++++++---- 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4aa2c0d..5662f82 100644 --- a/README.md +++ b/README.md @@ -1 +1,4 @@ # NixOSDots + +My collection of nixOS and nixDarwin configuration +This is an early WIP, expect breaking changes. diff --git a/hosts/common/home.nix b/hosts/common/home.nix index 6ec7fd8..05dc9b2 100644 --- a/hosts/common/home.nix +++ b/hosts/common/home.nix @@ -5,7 +5,7 @@ imports = [ inputs.spicetify-nix.homeManagerModules.spicetify ../../modules/home-manager/spicetify.nix - ../../modules/common/zed2.nix + ../../modules/home-manager/zed.nix ]; diff --git a/modules/common/ssh.nix b/modules/common/ssh.nix index ca7fea4..4ca1d7c 100644 --- a/modules/common/ssh.nix +++ b/modules/common/ssh.nix @@ -3,7 +3,6 @@ programs.ssh = { startAgent = true; extraConfig = '' - # Test if github.com works with ssh for cloning Host github.com IdentityFile ~/.ssh/github ''; diff --git a/modules/home-manager/zed.nix b/modules/home-manager/zed.nix index f6adf12..72df88b 100644 --- a/modules/home-manager/zed.nix +++ b/modules/home-manager/zed.nix @@ -5,22 +5,34 @@ enable = true; extensions = [ "nix" - "rosé pine" "rust" + + "rosé pine" + "typescript" - "python" "javascript" "html" "css" - "markdown" + + "go" + "python" + "json" "yaml" - "go" + "toml" + + "markdown" ]; extraPackages = [ pkgs.nixd ]; userSettings = { theme = "Dracula"; + language_models = { + ollama = { + api_url = http://localhost:11434"; + auto_discover = true; + }; + }; }; }; }