2021-07-15 19:57:49 +07:00
|
|
|
{ config, enableGUI, lib, pkgs, ... }: {
|
2021-05-11 14:32:58 +07:00
|
|
|
environment.systemPackages = with pkgs; [
|
2021-05-30 11:02:56 +07:00
|
|
|
efibootmgr
|
2021-05-20 14:02:49 +07:00
|
|
|
git
|
|
|
|
|
htop
|
2021-11-25 12:25:59 +07:00
|
|
|
jq
|
2021-05-20 14:02:49 +07:00
|
|
|
libarchive
|
|
|
|
|
lf
|
|
|
|
|
msr-tools
|
|
|
|
|
ncdu
|
|
|
|
|
neovim
|
2021-07-28 16:01:48 +07:00
|
|
|
nfs-utils
|
2021-07-21 22:01:41 +07:00
|
|
|
ntfs3g
|
2021-08-22 14:50:28 +07:00
|
|
|
sshfs
|
2021-05-20 14:02:49 +07:00
|
|
|
rsync
|
|
|
|
|
wget
|
2021-07-15 19:57:49 +07:00
|
|
|
] ++ lib.optionals enableGUI [
|
|
|
|
|
gparted
|
2021-05-20 14:02:49 +07:00
|
|
|
gnome3.nautilus
|
2021-05-11 14:32:58 +07:00
|
|
|
];
|
2021-05-15 08:28:38 +07:00
|
|
|
environment.variables.EDITOR = "nvim";
|
2021-07-28 15:04:09 +07:00
|
|
|
programs.adb.enable = true;
|
2021-07-15 19:57:49 +07:00
|
|
|
}
|
|
|
|
|
// (if !enableGUI then {} else {
|
2021-06-06 20:29:48 +07:00
|
|
|
hardware.opengl.extraPackages = with pkgs; [
|
2021-07-15 19:57:49 +07:00
|
|
|
vaapiIntel
|
|
|
|
|
vaapiVdpau
|
|
|
|
|
libvdpau-va-gl
|
|
|
|
|
intel-ocl
|
|
|
|
|
rocm-opencl-icd
|
|
|
|
|
rocm-opencl-runtime
|
2021-06-06 20:29:48 +07:00
|
|
|
];
|
2021-05-20 14:02:49 +07:00
|
|
|
programs.light.enable = true;
|
|
|
|
|
hardware.opentabletdriver.enable = true;
|
2021-05-14 00:11:08 +07:00
|
|
|
programs.steam.enable = true;
|
2021-06-20 11:35:42 +07:00
|
|
|
services.dbus.packages = [ pkgs.gnome3.dconf pkgs.gcr ];
|
2021-05-13 09:02:57 +07:00
|
|
|
services.gnome.sushi.enable = true;
|
2021-07-15 19:57:49 +07:00
|
|
|
})
|