diff options
Diffstat (limited to 'hm/soft')
| -rw-r--r-- | hm/soft/editor.nix | 13 | ||||
| -rw-r--r-- | hm/soft/soft.nix | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/hm/soft/editor.nix b/hm/soft/editor.nix new file mode 100644 index 0000000..c99c683 --- /dev/null +++ b/hm/soft/editor.nix @@ -0,0 +1,13 @@ +{ config, pkgs, lib, ... }: +let + cfg = config.hm.soft.editor; +in +{ + options.hm.soft.editor.enable = lib.mkEnableOption "enables the vis editor along with the nixd language server"; + config = lib.mkIf cfg.enable { + home.packages = with pkgs; [ + vis + nixd + ]; + }; +} diff --git a/hm/soft/soft.nix b/hm/soft/soft.nix index 6675083..05740bb 100644 --- a/hm/soft/soft.nix +++ b/hm/soft/soft.nix @@ -3,6 +3,7 @@ imports = [ ./browser.nix ./chat.nix + ./editor.nix ./email.nix ./kdenlive.nix ./mangohud.nix |
