flakes/modules/system/packages.nix

38 lines
755 B
Nix
Raw Permalink Normal View History

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
git
htop
2021-11-25 12:25:59 +07:00
jq
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
rsync
wget
2021-07-15 19:57:49 +07:00
] ++ lib.optionals enableGUI [
gparted
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
rocm-opencl-icd
rocm-opencl-runtime
2021-06-06 20:29:48 +07:00
];
programs.light.enable = true;
hardware.opentabletdriver.enable = true;
2021-05-14 00:11:08 +07:00
programs.steam.enable = true;
2022-02-02 18:14:10 +07:00
services.dbus.packages = [ pkgs.dconf pkgs.gcr ];
2021-05-13 09:02:57 +07:00
services.gnome.sushi.enable = true;
2021-07-15 19:57:49 +07:00
})