homemanager: Move vscode to own module
This commit is contained in:
parent
dfd35d579b
commit
40bbb757a1
|
@ -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
|
||||
|
|
13
home-manager/modules/vscode.nix
Normal file
13
home-manager/modules/vscode.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue