added vscode as home program

This commit is contained in:
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, ... }: { 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; [ home-manager.users.moritz.home.packages = with pkgs; [
neofetch neofetch
keepassxc keepassxc
@ -12,7 +12,6 @@
libreoffice libreoffice
signal-desktop signal-desktop
anki anki
vscodium-fhs
]; ];
services.gvfs = { services.gvfs = {
enable = true; 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
];
};
};
}