37 lines
769 B
Nix
37 lines
769 B
Nix
{ config, enableGUI, lib, pkgs, ... }: {
|
|
environment.systemPackages = with pkgs; [
|
|
efibootmgr
|
|
git
|
|
htop
|
|
libarchive
|
|
lf
|
|
msr-tools
|
|
ncdu
|
|
neovim
|
|
nfs-utils
|
|
ntfs3g
|
|
sshfs
|
|
rsync
|
|
wget
|
|
] ++ lib.optionals enableGUI [
|
|
gparted
|
|
gnome3.nautilus
|
|
];
|
|
environment.variables.EDITOR = "nvim";
|
|
programs.adb.enable = true;
|
|
}
|
|
// (if !enableGUI then {} else {
|
|
hardware.opengl.extraPackages = with pkgs; [
|
|
vaapiIntel
|
|
vaapiVdpau
|
|
libvdpau-va-gl
|
|
intel-ocl
|
|
rocm-opencl-icd
|
|
rocm-opencl-runtime
|
|
];
|
|
programs.light.enable = true;
|
|
hardware.opentabletdriver.enable = true;
|
|
programs.steam.enable = true;
|
|
services.dbus.packages = [ pkgs.gnome3.dconf pkgs.gcr ];
|
|
services.gnome.sushi.enable = true;
|
|
})
|