mirror of
https://github.com/librephoenix/nixos-config
synced 2025-11-30 14:43:59 +05:30
Updated system + trying zed
This commit is contained in:
parent
e15e4d817e
commit
6f6d16dff1
10 changed files with 166 additions and 84 deletions
19
modules/user/zed/default.nix
Normal file
19
modules/user/zed/default.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.userSettings.zed;
|
||||
in {
|
||||
options = {
|
||||
userSettings.zed = {
|
||||
enable = lib.mkEnableOption "Enable zed editor";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.zed-editor.enable = true;
|
||||
programs.zed-editor.extensions = [
|
||||
"nix"
|
||||
"gdscript"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue