homemanager: Move vscode to own module

This commit is contained in:
fleaz 2022-02-07 00:00:20 +01:00
parent dfd35d579b
commit 40bbb757a1
2 changed files with 14 additions and 4 deletions

View file

@ -11,6 +11,7 @@ in {
home-manager.users.fleaz = { pkgs, ... }: {
imports = [
modules/neovim.nix
modules/vscode.nix
];
services.gnome-keyring.enable = true;
@ -18,10 +19,6 @@ in {
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [
httpie
vscode
vscode-extensions.vscodevim.vim
wdisplays
albert
firefox

View file

@ -0,0 +1,13 @@
{ pkgs, ... }: {
programs.vscode = {
enable = true;
package = pkgs.vscodium; # You can skip this if you want to use the unfree version
extensions = with pkgs.vscode-extensions; [
dracula-theme.theme-dracula
vscodevim.vim
yzhang.markdown-all-in-one
ms-python.python
];
};
}