nixos/modules/packages/workstation/default.nix

72 lines
2.4 KiB
Nix
Raw Normal View History

2023-12-05 16:40:40 +08:00
inputs:
{
config =
let
inherit (inputs.lib) mkIf;
in mkIf (builtins.elem "workstation" inputs.config.nixos.packages._packageSets)
{
2023-12-10 00:07:36 +08:00
nixos =
2023-12-05 16:40:40 +08:00
{
2023-12-10 00:07:36 +08:00
packages = with inputs.pkgs;
{
_packages =
[
# password and key management
electrum jabref
# system management
2024-02-24 19:13:56 +08:00
wl-mirror nvtop
2023-12-10 00:07:36 +08:00
# nix tools
nix-template nil nix-alien pnpm-lock-export bundix
2023-12-10 00:07:36 +08:00
# instant messager
qq nur-xddxdd.wechat-uos cinny-desktop nheko
2023-12-10 00:07:36 +08:00
# development
jetbrains.clion android-studio dbeaver cling clang-tools_16 ccls fprettify aircrack-ng
# media
nur-xddxdd.svp
2023-12-10 00:07:36 +08:00
# virtualization
wineWowPackages.stagingFull virt-viewer bottles # wine64
# text editor
appflowy notion-app-enhanced joplin-desktop standardnotes logseq
# math, physics and chemistry
2024-02-24 22:41:25 +08:00
mathematica paraview jmol mpi # qchem.quantum-espresso
2023-12-10 00:07:36 +08:00
# encryption and password management
john crunch hashcat
# container and vm
genymotion # davinci-resolve playonlinux
# browser
microsoft-edge
# news
rssguard newsflash newsboat
2024-01-31 15:21:22 +08:00
yuzu-early-access
2024-02-25 15:34:35 +08:00
]
++ (builtins.concatLists (builtins.map
(compiler: builtins.map (version: localPackages.vasp.${compiler}.${version}) [ "6.3.1" "6.4.0" ])
[ "gnu" "nvidia" ]));
2023-12-10 00:07:36 +08:00
_pythonPackages = [(pythonPackages: with pythonPackages;
[
2024-02-09 10:56:24 +08:00
phonopy tensorflow keras scipy scikit-learn jupyterlab autograd # localPackages.pix2tex
2023-12-10 00:07:36 +08:00
])];
};
users.sharedModules =
[{
config.programs =
{
obs-studio =
{
enable = true;
plugins = with inputs.pkgs.obs-studio-plugins;
[ wlrobs obs-vaapi obs-nvfbc droidcam-obs obs-vkcapture ];
};
doom-emacs = { enable = true; doomPrivateDir = ./doom.d; };
};
}];
2023-12-05 16:40:40 +08:00
};
programs =
{
anime-game-launcher = { enable = true; package = inputs.pkgs.anime-game-launcher; };
honkers-railway-launcher = { enable = true; package = inputs.pkgs.honkers-railway-launcher; };
nix-ld.enable = true;
};
};
}