mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
profiles/editors: simplify default editor configurations
Now it should be easier to build upon it for other home-manager users.
This commit is contained in:
parent
771ba8645a
commit
d031f442d5
@ -10,8 +10,8 @@
|
|||||||
let cfg = config.profiles.editors;
|
let cfg = config.profiles.editors;
|
||||||
in {
|
in {
|
||||||
options.profiles.editors = {
|
options.profiles.editors = {
|
||||||
neovim.enable = lib.mkEnableOption "foo-dogsquared's Neovim setup with Nix";
|
neovim.enable = lib.mkEnableOption "basic Neovim setup";
|
||||||
vscode.enable = lib.mkEnableOption "foo-dogsquared's Visual Studio Code setup";
|
vscode.enable = lib.mkEnableOption "basic Visual Studio Code setup";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
@ -48,21 +48,7 @@ in {
|
|||||||
ms-vsliveshare.vsliveshare
|
ms-vsliveshare.vsliveshare
|
||||||
tailscale.vscode-tailscale
|
tailscale.vscode-tailscale
|
||||||
|
|
||||||
# Additional language support.
|
|
||||||
bbenoist.nix
|
|
||||||
graphql.vscode-graphql
|
|
||||||
ms-vscode.cmake-tools
|
|
||||||
ms-vscode.cpptools
|
|
||||||
ms-vscode.powershell
|
|
||||||
|
|
||||||
# Extra editor niceties.
|
|
||||||
eamodio.gitlens
|
|
||||||
mkhl.direnv
|
|
||||||
usernamehw.errorlens
|
|
||||||
vadimcn.vscode-lldb
|
|
||||||
|
|
||||||
# The other niceties.
|
# The other niceties.
|
||||||
editorconfig.editorconfig
|
|
||||||
vscode-icons-team.vscode-icons
|
vscode-icons-team.vscode-icons
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user