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
|
|
|
};
|
2019-11-17 19:28:43 +04:00
|
|
|
with deviceSpecific;
|
|
|
|
let
|
|
|
|
rust-stable = pkgs.rustChannels.stable.rust.override {
|
|
|
|
extensions = [
|
|
|
|
"rls-preview"
|
|
|
|
"clippy-preview"
|
|
|
|
"rustfmt-preview"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
in {
|
2019-12-13 23:15:39 +04:00
|
|
|
programs.adb.enable = true;
|
2019-08-27 20:49:08 +00:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
2019-09-14 22:12:56 +04:00
|
|
|
# Important
|
2019-08-27 20:49:08 +00:00
|
|
|
rxvt_unicode
|
|
|
|
curl
|
2019-09-14 22:12:56 +04:00
|
|
|
xfce4-14.thunar
|
|
|
|
xfce4-14.xfce4-taskmanager
|
|
|
|
xclip
|
|
|
|
bc
|
2019-09-20 01:39:05 +04:00
|
|
|
sysstat
|
2019-09-23 14:04:13 +04:00
|
|
|
xdotool
|
2020-02-05 04:30:49 +04:00
|
|
|
niv
|
2019-09-14 22:12:56 +04:00
|
|
|
|
|
|
|
lxqt.pavucontrol-qt
|
2019-09-22 13:35:49 +04:00
|
|
|
bibata-cursors
|
2020-02-05 05:00:50 +04:00
|
|
|
i3lock-fancy-rapid
|
2019-09-25 20:47:27 +04:00
|
|
|
|
|
|
|
# mullvad-vpn
|
2019-09-17 02:27:09 +04:00
|
|
|
# Samba support
|
|
|
|
cifs-utils
|
|
|
|
# Utils
|
2019-09-23 23:53:19 +04:00
|
|
|
pciutils
|
|
|
|
usbutils
|
2020-02-05 05:00:50 +04:00
|
|
|
nix-prefetch-git
|
2019-09-18 01:59:22 +04:00
|
|
|
hdparm
|
2019-09-17 02:27:09 +04:00
|
|
|
vdpauinfo
|
|
|
|
libva-utils
|
|
|
|
lm_sensors
|
2019-09-17 16:48:19 +04:00
|
|
|
libnotify
|
2019-09-25 20:47:27 +04:00
|
|
|
tree
|
2019-09-29 14:59:51 +04:00
|
|
|
iperf
|
2019-10-10 19:37:45 +04:00
|
|
|
|
2019-09-17 23:07:22 +04:00
|
|
|
(youtube-to-mpv.override { isLaptop = isLaptop; })
|
2019-10-10 19:37:45 +04:00
|
|
|
wg-conf
|
2019-09-14 22:12:56 +04:00
|
|
|
# Other
|
|
|
|
(vivaldi.override { proprietaryCodecs = true; })
|
|
|
|
wget
|
2019-08-27 20:49:08 +00:00
|
|
|
gparted
|
|
|
|
neofetch
|
|
|
|
bashmount
|
|
|
|
p7zip
|
|
|
|
zip
|
|
|
|
ranger
|
2019-09-17 13:25:18 +04:00
|
|
|
youtube-dl
|
2019-09-22 01:32:48 +04:00
|
|
|
speedcrunch
|
|
|
|
feh
|
|
|
|
setroot
|
|
|
|
maim
|
|
|
|
mupdf
|
2019-09-29 14:45:51 +04:00
|
|
|
ncmpcpp
|
2019-09-29 20:16:29 +04:00
|
|
|
|
|
|
|
pywal
|
|
|
|
python27Packages.pygtk
|
|
|
|
python2
|
2019-09-17 23:07:22 +04:00
|
|
|
] ++ lib.optionals isLaptop [
|
2019-09-14 22:12:56 +04:00
|
|
|
# Important
|
|
|
|
acpi
|
|
|
|
light
|
2019-09-22 01:32:48 +04:00
|
|
|
powertop
|
|
|
|
# Other
|
|
|
|
blueman
|
2019-09-22 16:40:16 +04:00
|
|
|
] ++ lib.optionals (!isVM) [
|
|
|
|
libreoffice
|
2019-12-13 23:15:39 +04:00
|
|
|
# rust-stable
|
2019-09-29 14:45:51 +04:00
|
|
|
] ++ lib.optionals (device == "AMD-Workstation") [
|
|
|
|
xonar-fp
|
2019-08-27 20:49:08 +00:00
|
|
|
];
|
|
|
|
|
2019-09-11 17:17:56 +04:00
|
|
|
home-manager.users.alukard.home.packages = with pkgs; [
|
2019-08-27 20:49:08 +00:00
|
|
|
qbittorrent
|
2019-10-17 00:31:54 +04:00
|
|
|
vscode
|
2019-08-27 20:49:08 +00:00
|
|
|
xarchiver
|
2019-09-22 01:32:48 +04:00
|
|
|
tdesktop
|
|
|
|
spotifywm
|
|
|
|
discord
|
2020-02-05 04:30:49 +04:00
|
|
|
pulseeffects
|
2019-09-22 16:40:16 +04:00
|
|
|
] ++ lib.optionals (!isVM) [
|
|
|
|
steam
|
|
|
|
steam-run
|
2019-10-17 00:31:54 +04:00
|
|
|
protontricks
|
2020-02-05 04:30:49 +04:00
|
|
|
# retroarch
|
|
|
|
] ++ lib.optionals (enableDocker) [
|
|
|
|
docker-compose
|
2019-08-27 20:49:08 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
}
|