From 878d4bef89d2bfb7f087f21340477fb4269f3c78 Mon Sep 17 00:00:00 2001 From: Bad Date: Sun, 20 Feb 2022 18:18:55 +0100 Subject: [PATCH] Add vscode --- users/mae/home-manager-base.nix | 2 +- users/profiles/vscode/default.nix | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 users/profiles/vscode/default.nix diff --git a/users/mae/home-manager-base.nix b/users/mae/home-manager-base.nix index 10c16b7..e30f3f6 100644 --- a/users/mae/home-manager-base.nix +++ b/users/mae/home-manager-base.nix @@ -1,6 +1,6 @@ { pkgs, ... }: { - imports = [ ../profiles/direnv ../profiles/git ../profiles/zsh ../profiles/neovim ../profiles/syncthing ../profiles/kdeconnect ../profiles/podman ../profiles/alacritty ../profiles/tmux ]; + imports = [ ../profiles/direnv ../profiles/git ../profiles/zsh ../profiles/neovim ../profiles/syncthing ../profiles/kdeconnect ../profiles/podman ../profiles/alacritty ../profiles/tmux ../profiles/vscode ]; home.sessionVariables = { XDG_DATA_DIRS = "$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"; diff --git a/users/profiles/vscode/default.nix b/users/profiles/vscode/default.nix new file mode 100644 index 0000000..51dbbdb --- /dev/null +++ b/users/profiles/vscode/default.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: +{ + programs.vscode = { + enable = true; + package = pkgs.vscodium; + extensions = with pkgs.vscode-extensions; [ + ms-vsliveshare.vsliveshare + vscodevim.vim + ]; + }; +}