From e3ed1dac5bb2e7ec602efd832fa22e92ed3f0a00 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Sun, 28 Dec 2025 00:24:37 +0100 Subject: [PATCH] Changed the name of the zed module --- hosts/nixos/configuration.nix | 8 ++++---- hosts/nixos/modules.nix | 2 +- modules/common/zed.nix | 6 +----- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/hosts/nixos/configuration.nix b/hosts/nixos/configuration.nix index fca44ac..255cfe9 100644 --- a/hosts/nixos/configuration.nix +++ b/hosts/nixos/configuration.nix @@ -17,12 +17,12 @@ networking.hostName = "nixos"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - + # Enable Flakes nix.settings.experimental-features = [ "nix-command" "flakes" ]; # Enables SDDM - services = { + services = { xserver = { enable = true; }; @@ -84,7 +84,7 @@ # $ nix search wget environment.systemPackages = with pkgs; [ # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. - wget + wget git tree kitty @@ -100,7 +100,7 @@ cudatoolkit # Theme SDDM - sddm-astronaut + sddm-astronaut ]; # Some programs need SUID wrappers, can be configured further or are diff --git a/hosts/nixos/modules.nix b/hosts/nixos/modules.nix index e5e2e45..83cf4b8 100644 --- a/hosts/nixos/modules.nix +++ b/hosts/nixos/modules.nix @@ -2,7 +2,7 @@ { # This file is used to import all modules required by this setup. - imports = + imports = [ inputs.sops-nix.nixosModules.sops ../../modules/nixos/secrets.nix # Sops diff --git a/modules/common/zed.nix b/modules/common/zed.nix index 24be2ae..638f2c7 100644 --- a/modules/common/zed.nix +++ b/modules/common/zed.nix @@ -346,11 +346,7 @@ let in { options.programs.zed-ai = { - enable = lib.mkEnableOption { - type = lib.types.bool; - default = false; - description = "Zed AI configuration with Chain of Thought"; - }; + enable = lib.mkEnableOption "Zed AI configuration with Chain of Thought"; enableCoTModels = lib.mkOption { type = lib.types.bool;