106 lines
1.8 KiB
Nix
Raw Normal View History

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
2020-02-10 06:08:03 +04:00
rust-stable = pkgs.latest.rustChannels.stable.rust.override {
2019-11-17 19:28:43 +04:00
extensions = [
"rls-preview"
"clippy-preview"
"rustfmt-preview"
];
};
in {
2019-12-13 23:15:39 +04:00
programs.adb.enable = true;
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
environment.systemPackages = with pkgs; [
curl
2020-08-07 02:46:51 +04:00
wget
2019-09-17 02:27:09 +04:00
cifs-utils
2020-08-07 02:46:51 +04:00
] ++ lib.optionals isLaptop [
# acpi
#
] ++ lib.optionals (!isVM) [
# rust-stable
] ++ lib.optionals (device == "AMD-Workstation") [
xonar-fp
];
home-manager.users.alukard.home.packages = with pkgs; [
2019-09-17 02:27:09 +04:00
# Utils
2020-08-07 02:46:51 +04:00
rxvt_unicode
xclip
2019-09-23 23:53:19 +04:00
pciutils
usbutils
nix-prefetch-git
2019-09-17 02:27:09 +04:00
vdpauinfo
libva-utils
lm_sensors
2019-09-17 16:48:19 +04:00
libnotify
2019-08-27 20:49:08 +00:00
gparted
neofetch
bashmount
zip
2020-08-07 02:46:51 +04:00
feh
2020-08-07 23:27:49 +04:00
# new tools
2020-08-08 17:38:29 +04:00
tealdeer
pinfo
2020-08-07 23:27:49 +04:00
ncdu
fd
ripgrep
lnav
2020-08-08 17:38:29 +04:00
advance-touch # python3 pip
2020-08-07 23:27:49 +04:00
exa
2020-08-08 17:38:29 +04:00
nomino # rust build
bpytop
nnn
# vimv
2020-08-07 02:46:51 +04:00
# cli
2019-08-27 20:49:08 +00:00
ranger
2019-09-17 13:25:18 +04:00
youtube-dl
2019-09-29 20:16:29 +04:00
pywal
2020-08-07 02:46:51 +04:00
# python27Packages.pygtk
# python2
# ncmpcpp
2019-08-27 20:49:08 +00:00
2020-08-07 02:46:51 +04:00
(youtube-to-mpv.override { isLaptop = isLaptop; })
wg-conf
(vivaldi.override { proprietaryCodecs = true; })
xfce4-14.thunar
xfce4-14.xfce4-taskmanager
i3lock-fancy-rapid
bibata-cursors
git-crypt
keepassxc
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
2020-02-08 03:53:35 +04:00
spotify-tui
2019-09-22 01:32:48 +04:00
discord
2020-02-05 04:30:49 +04:00
pulseeffects
2020-08-04 01:51:37 +04:00
# quodlibet
zathura
2019-09-22 16:40:16 +04:00
] ++ lib.optionals (!isVM) [
2020-08-07 02:46:51 +04:00
libreoffice
2020-08-04 01:51:37 +04:00
# steam
# steam-run
2020-04-26 14:48:24 +04:00
# protontricks
2020-08-04 01:51:37 +04:00
# lutris
2020-02-05 04:30:49 +04:00
# retroarch
2020-08-07 02:46:51 +04:00
] ++ lib.optionals isLaptop [
# blueman
2020-03-22 01:07:54 +04:00
] ++ lib.optionals (enableVirtualisation) [
2020-02-05 04:30:49 +04:00
docker-compose
2019-08-27 20:49:08 +00:00
];
}