commit | aaf2f2959da9d6b1387ae52d075da9b9a923ef20 | [log] [tgz] |
---|---|---|
author | Samuel Shuert <me@thecoded.prof> | Tue Jul 02 18:49:25 2024 -0400 |
committer | Samuel Shuert <coded@clicks.codes> | Tue Jul 16 13:09:11 2024 +0000 |
tree | fe59bc314c1e67bc34b0ae3fe25300083c0c3542 | |
parent | 4655e77e39cfcfcd198087efef3906e51b50bef0 [diff] |
feat(module): Add Zed Editor Module Change-Id: Ic0d1f27870d6c4b27f4c99ab99bdb6ad474ad755 Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/795 Tested-by: Samuel Shuert <coded@clicks.codes> Reviewed-by: Skyler Grey <minion@clicks.codes>
diff --git a/modules/home/code/zed/default.nix b/modules/home/code/zed/default.nix new file mode 100644 index 0000000..337ec4f --- /dev/null +++ b/modules/home/code/zed/default.nix
@@ -0,0 +1,12 @@ +{ config, lib, pkgs, ... }: +{ + options.chimera.code.zed = { + enable = lib.mkEnableOption "Enable Zed Editor"; + }; + + config = lib.mkIf config.chimera.code.zed.enable { + home.packages = [ + pkgs.zed-editor + ]; + }; +}
diff --git a/modules/home/users/coded/default.nix b/modules/home/users/coded/default.nix index 0ccc9ef..28d99de 100644 --- a/modules/home/users/coded/default.nix +++ b/modules/home/users/coded/default.nix
@@ -88,6 +88,7 @@ defaultEditor = false; }; }; + chimera.code.zed.enable = true; chimera.theme.font.nerdFontGlyphs.enable = true;