home/zed: re-enable
This commit is contained in:
parent
e4fe666d29
commit
502503add8
@ -62,7 +62,7 @@ in {
|
|||||||
./programs/taskwarrior.nix
|
./programs/taskwarrior.nix
|
||||||
./programs/vscode
|
./programs/vscode
|
||||||
./programs/zathura.nix
|
./programs/zathura.nix
|
||||||
# ./programs/zed
|
./programs/zed
|
||||||
|
|
||||||
./services/copyq.nix
|
./services/copyq.nix
|
||||||
./services/dunst.nix
|
./services/dunst.nix
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
{ config, pkgs, unstable-pkgs, lib, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with unstable-pkgs; [ zed-editor ];
|
programs.zed-editor = {
|
||||||
|
enable = true;
|
||||||
xdg.configFile."zed/settings.json".source = let
|
userSettings = {
|
||||||
format = pkgs.formats.json { };
|
|
||||||
in format.generate "zed-settings.json" {
|
|
||||||
autosave = "off";
|
autosave = "off";
|
||||||
buffer_font_family = "Fira Code";
|
buffer_font_family = "Fira Code";
|
||||||
load_direnv = "shell_hook";
|
load_direnv = "shell_hook";
|
||||||
@ -22,6 +20,7 @@
|
|||||||
dark = "monokai Classic";
|
dark = "monokai Classic";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
xdg.configFile."zed/themes/monokai.json".source = let
|
xdg.configFile."zed/themes/monokai.json".source = let
|
||||||
package = pkgs.fetchFromGitHub {
|
package = pkgs.fetchFromGitHub {
|
||||||
|
Loading…
Reference in New Issue
Block a user