added vscode as home program

nixos
Moritz Böhme 2021-10-22 10:18:08 +02:00
parent 85e1c931ee
commit b2b9fa66e4
2 changed files with 15 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
{
imports = [ ./rofi ./kitty.nix ./zathura.nix ./spotify.nix ];
imports = [ ./rofi ./kitty.nix ./zathura.nix ./spotify.nix ./vscode.nix ];
home-manager.users.moritz.home.packages = with pkgs; [
neofetch
keepassxc
@ -12,7 +12,6 @@
libreoffice
signal-desktop
anki
vscodium-fhs
];
services.gvfs = {
enable = true;

14
modules/apps/vscode.nix Normal file
View File

@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }:
{
home-manager.users.moritz = {
programs.vscode = {
enable = true;
package = pkgs.vscodium-fhs;
extensions = with pkgs; [
vscode-extensions.vscodevim.vim
vscode-extensions.dracula-theme.theme-dracula
];
};
};
}