flakes/modules/system/packages.nix

46 lines
904 B
Nix
Raw 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; [
2025-03-08 23:25:08 +11:00
comma
2025-03-13 01:20:30 +11:00
ecryptfs
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
nautilus
2021-05-11 14:32:58 +07:00
];
2021-05-15 08:28:38 +07:00
environment.variables.EDITOR = "nvim";
2021-07-15 19:57:49 +07:00
}
// (if !enableGUI then {} else {
2023-02-25 18:08:11 +07:00
programs.adb.enable = true;
2025-03-17 22:13:11 +11:00
hardware.graphics.extraPackages = with pkgs; [
2021-07-15 19:57:49 +07:00
vaapiIntel
vaapiVdpau
libvdpau-va-gl
2021-06-06 20:29:48 +07:00
];
programs.light.enable = true;
hardware.opentabletdriver.enable = true;
hardware.keyboard.qmk.enable = true;
2023-05-12 00:09:21 +07:00
programs.steam = {
enable = true;
package = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [
gsettings-desktop-schemas
];
};
};
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
})