Patch up my new structure to support Macs as well Add Firefox for Mac overlay Combine Python version definitions Toy around with Vim settings
70 lines
1.3 KiB
Nix
70 lines
1.3 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./chat.nix
|
|
./gnome.nix
|
|
./firefox.nix
|
|
./terminal.nix
|
|
];
|
|
|
|
home.packages = with pkgs; [
|
|
gopls
|
|
synology-drive-client
|
|
zoom-us
|
|
] ++ ( if pkgs.system == "x86_64-darwin" then
|
|
[
|
|
libreoffice-bin
|
|
] else
|
|
[
|
|
bitwarden
|
|
gnucash
|
|
handbrake
|
|
jellyfin-media-player
|
|
nextcloud-client
|
|
onlyoffice-bin
|
|
vlc
|
|
]
|
|
);
|
|
|
|
programs = {
|
|
vscode = let
|
|
codepkg = pkgs.vscode-with-extensions.override {
|
|
vscodeExtensions = with pkgs.vscode-extensions; [
|
|
eamodio.gitlens
|
|
file-icons.file-icons
|
|
formulahendry.auto-rename-tag
|
|
github.vscode-pull-request-github
|
|
golang.go
|
|
johnpapa.vscode-peacock
|
|
jnoortheen.nix-ide
|
|
kamikillerto.vscode-colorize
|
|
ms-azuretools.vscode-docker
|
|
ms-python.python
|
|
redhat.java
|
|
redhat.vscode-yaml
|
|
ritwickdey.liveserver
|
|
streetsidesoftware.code-spell-checker
|
|
vscodevim.vim
|
|
yzhang.markdown-all-in-one
|
|
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
|
{
|
|
name = "vscode-bazel";
|
|
publisher = "BazelBuild";
|
|
version = "0.5.0";
|
|
sha256 = "sha256-JJQSwU3B5C2exENdNsWEcxFSgWHnImYas4t/KLsgTj4=";
|
|
}
|
|
];
|
|
};
|
|
in {
|
|
enable = true;
|
|
# userSettings = {
|
|
# "update.channel" = "none";
|
|
# "editor.renderWhitespace" = "all";
|
|
# "editor.tabWidth" = "8";
|
|
# };
|
|
package = codepkg;
|
|
};
|
|
};
|
|
}
|