Gram: Difference between revisions
m Add translate tags |
|||
| Line 1: | Line 1: | ||
<translate> | |||
[https://gram-editor.com/ Gram] is a hard fork of [[Zed]] removing AI integration and telemetry as well as no user agreement or subscription, among other features. For more on the reasoning for and purpose of the fork see the [https://gram-editor.com/docs/mission/ mission statement]. | [https://gram-editor.com/ Gram] is a hard fork of [[Zed]] removing AI integration and telemetry as well as no user agreement or subscription, among other features. For more on the reasoning for and purpose of the fork see the [https://gram-editor.com/docs/mission/ mission statement]. | ||
| Line 12: | Line 13: | ||
Add <code>fenix</code> to your flake | Add <code>fenix</code> to your flake | ||
</translate> | |||
{{file|flake.nix|nix| | {{file|flake.nix|nix| | ||
| Line 27: | Line 29: | ||
}} | }} | ||
<translate> | |||
The examples all use the stable version attribute set, but any provided by <code>fenix</code> should work. | The examples all use the stable version attribute set, but any provided by <code>fenix</code> should work. | ||
| Line 35: | Line 38: | ||
==== Let In Statement ==== | ==== Let In Statement ==== | ||
</translate> | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
| Line 55: | Line 59: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | |||
==== HomeManager Packages ==== | ==== HomeManager Packages ==== | ||
</translate> | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
| Line 66: | Line 72: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | |||
==== NixOS Packages ==== | ==== NixOS Packages ==== | ||
</translate> | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
| Line 88: | Line 96: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | |||
==== Flake Parts devShell ==== | ==== Flake Parts devShell ==== | ||
If using flake parts, devShells need to have their inputs passed to them by <code>perSystem</code> rather than as a top-level attribute. The file paths are only examples and can be replaced to fit the structure of your project. | If using flake parts, devShells need to have their inputs passed to them by <code>perSystem</code> rather than as a top-level attribute. The file paths are only examples and can be replaced to fit the structure of your project. | ||
</translate> | |||
{{file|default.nix|nix| | {{file|default.nix|nix| | ||
| Line 131: | Line 141: | ||
}} | }} | ||
<translate> | |||
==== More About Extensions ==== | ==== More About Extensions ==== | ||
* [https://discourse.nixos.org/t/fail-to-add-extensions-to-gram/78466/2 NixOS Discourse: Fail To Add Extensions To Gram] | * [https://discourse.nixos.org/t/fail-to-add-extensions-to-gram/78466/2 NixOS Discourse: Fail To Add Extensions To Gram] | ||
* [[Talk:Gram#Using_Rustup_for_Building_Extensions]] | * [[Talk:Gram#Using_Rustup_for_Building_Extensions]] | ||
</translate> | |||
[[Category:Applications]] [[Category:Text Editor]] | [[Category:Applications]] [[Category:Text Editor]] | ||