Add vscodium configuration

This commit is contained in:
Greg Hellings
2023-08-23 14:03:13 -05:00
committed by greg-compass
parent ba6a4e3694
commit 50223fb8f7
4 changed files with 30 additions and 22 deletions
+1
View File
@@ -25,6 +25,7 @@ let
gnome = false;
gui = false;
home = "/Users/gregory.hellings";
mac = true;
};
};
users.users."gregory.hellings".home = "/Users/gregory.hellings";
+8 -20
View File
@@ -12,7 +12,9 @@ in
./firefox.nix
];
home.packages = with pkgs; [
# These packages are Linux only
home.packages = with pkgs; ( excludes ["x86_64-darwin" "aarch64-darwin"]
[
cdrtools
ffmpeg
handbrake
@@ -20,34 +22,20 @@ in
makemkv
vlc
x265
] ++
]) ++
# Items that cannot be outside of x86_64-linux at all
# x86_64-linux only
( excludes ["x86_64-darwin" "aarch64-darwin" "aarch64-linux"]
[
bitwarden
endeavour
gnucash
jellyfin-media-player
libreoffice
logseq
nextcloud-client
]) ++
# Items that just cannot be outside of x86_64 at all
( excludes ["aarch64-darwin" "aarch64-linux"]
[
synology-drive-client
]) ++
# Items that are not supported on ARM/Linux
( excludes ["aarch64-linux"]
[
bitwarden
onlyoffice-bin
synology-drive-client
zoom-us
]) ++
( excludes ["aarch64-darwin" "x86_64-darwin"]
[
gnucash
]);
}
+3 -2
View File
@@ -1,5 +1,5 @@
{ pkgs, lib, gui, gnome,
inputs,
inputs, mac,
...}:
{
@@ -14,7 +14,8 @@
./templates.nix
./vim.nix
./xonsh.nix
] ++ ( if gui then [ ./gui ] else []);
] ++ ( if gui then [ ./gui ] else [])
++ ( if mac then [ ./mac.nix ] else []);
greg.gnome = gnome;
+18
View File
@@ -0,0 +1,18 @@
{ pkgs, ... }:
{
# Programs for everyone?
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
golang.go
ms-python.python
ms-pyright.pyright
vscjava.vscode-java-test
vscjava.vscode-java-dependency
vscjava.vscode-java-debug
vscodevim.vim
];
};
}