2019-09-17 23:07:22 +04:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
with rec {
|
2019-09-29 14:45:51 +04:00
|
|
|
inherit (config) device deviceSpecific;
|
2019-09-17 23:07:22 +04:00
|
|
|
};
|
2020-08-11 02:38:02 +04:00
|
|
|
with deviceSpecific; {
|
2019-12-13 23:15:39 +04:00
|
|
|
programs.adb.enable = true;
|
2020-09-04 23:32:11 +04:00
|
|
|
|
2020-08-04 01:51:37 +04:00
|
|
|
programs.java = {
|
2020-02-05 05:04:59 +04:00
|
|
|
enable = true;
|
2020-08-04 01:51:37 +04:00
|
|
|
package = if (device == "AMD-Workstation") then pkgs.jdk13 else pkgs.jre;
|
2020-02-05 05:04:59 +04:00
|
|
|
};
|
2019-08-27 20:49:08 +00:00
|
|
|
|
2020-08-07 02:46:51 +04:00
|
|
|
home-manager.users.alukard.home.packages = with pkgs; [
|
2020-08-29 17:47:21 +04:00
|
|
|
# cli
|
|
|
|
advance-touch
|
2020-08-11 02:38:02 +04:00
|
|
|
curl
|
2020-08-29 17:47:21 +04:00
|
|
|
exa
|
|
|
|
fd
|
|
|
|
git-crypt
|
2019-09-17 02:27:09 +04:00
|
|
|
lm_sensors
|
2020-08-29 17:47:21 +04:00
|
|
|
lnav
|
2019-08-27 20:49:08 +00:00
|
|
|
neofetch
|
2020-08-29 17:47:21 +04:00
|
|
|
nix-prefetch-git
|
2020-11-10 00:09:40 +04:00
|
|
|
nix-prefetch-github
|
2020-08-29 17:47:21 +04:00
|
|
|
nomino
|
2020-08-15 19:36:16 +04:00
|
|
|
(p7zip.override { enableUnfree = true; })
|
2020-08-29 17:47:21 +04:00
|
|
|
pciutils
|
2020-08-08 17:38:29 +04:00
|
|
|
pinfo
|
2020-08-07 23:27:49 +04:00
|
|
|
ripgrep
|
2020-08-29 17:47:21 +04:00
|
|
|
tealdeer
|
|
|
|
unzip
|
|
|
|
usbutils
|
|
|
|
wg-conf
|
|
|
|
wget
|
|
|
|
xclip
|
|
|
|
youtube-dl
|
|
|
|
zip
|
|
|
|
gptfdisk
|
|
|
|
|
|
|
|
# tui
|
2020-08-08 17:38:29 +04:00
|
|
|
bpytop
|
2020-08-08 23:23:15 +04:00
|
|
|
micro
|
2020-08-29 17:47:21 +04:00
|
|
|
ncdu
|
|
|
|
nnn
|
2019-08-27 20:49:08 +00:00
|
|
|
ranger
|
|
|
|
|
2020-08-29 17:47:21 +04:00
|
|
|
# gui
|
|
|
|
discord
|
|
|
|
feh
|
|
|
|
gnome3.simple-scan
|
|
|
|
gparted
|
2020-08-07 02:46:51 +04:00
|
|
|
keepassxc
|
2020-08-29 17:47:21 +04:00
|
|
|
pinta
|
|
|
|
pulseeffects
|
2019-08-27 20:49:08 +00:00
|
|
|
qbittorrent
|
2020-08-29 17:47:21 +04:00
|
|
|
spotifywm
|
|
|
|
system-config-printer
|
|
|
|
tdesktop
|
2020-09-26 03:33:55 +04:00
|
|
|
(vivaldi.override { proprietaryCodecs = true; })
|
2019-10-17 00:31:54 +04:00
|
|
|
vscode
|
2019-08-27 20:49:08 +00:00
|
|
|
xarchiver
|
2020-08-29 17:47:21 +04:00
|
|
|
xfce4-14.thunar
|
|
|
|
xfce4-14.xfce4-taskmanager
|
|
|
|
youtube-to-mpv
|
|
|
|
zathura
|
2020-08-15 19:36:16 +04:00
|
|
|
# audacity # fixit
|
2020-08-29 17:47:21 +04:00
|
|
|
# quodlibet
|
2019-09-22 16:40:16 +04:00
|
|
|
] ++ lib.optionals (!isVM) [
|
2020-08-11 02:38:02 +04:00
|
|
|
# rust-stable
|
2020-08-29 17:47:21 +04:00
|
|
|
libreoffice
|
2020-09-04 23:32:11 +04:00
|
|
|
# Android dev
|
|
|
|
androidenv.androidPkgs_9_0.androidsdk
|
|
|
|
android-studio
|
|
|
|
# scrcpy
|
2020-08-29 17:47:21 +04:00
|
|
|
] ++ lib.optionals isGaming [
|
2020-08-04 01:51:37 +04:00
|
|
|
# lutris
|
2020-08-29 17:47:21 +04:00
|
|
|
# protontricks
|
2020-02-05 04:30:49 +04:00
|
|
|
# retroarch
|
2020-08-29 17:47:21 +04:00
|
|
|
steam-run
|
|
|
|
(steam.override { withJava = true; })
|
2020-08-07 02:46:51 +04:00
|
|
|
] ++ lib.optionals isLaptop [
|
2020-08-11 02:38:02 +04:00
|
|
|
# acpi
|
2020-08-29 17:47:21 +04:00
|
|
|
# blueman
|
2020-08-11 02:38:02 +04:00
|
|
|
] ++ lib.optionals (device == "AMD-Workstation") [
|
|
|
|
# xonar-fp
|
2019-08-27 20:49:08 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
}
|