global/packages: make some packages graphical-only

This commit is contained in:
Infinidoge 2023-08-03 11:14:47 -04:00
parent d182b58912
commit f0017d381e
2 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ config, pkgs, lib, ... }:
{
# Use the latest Linux kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
@ -24,7 +24,6 @@
exa
exfat # Windows drives
fd
ffmpeg
frei
git
htop
@ -58,7 +57,10 @@
whois
xxHash
yq
yt-dlp
zip
];
] ++ (lib.optionals config.info.graphical (with pkgs; [
ffmpeg
mpv
yt-dlp
]));
}

View file

@ -48,8 +48,6 @@ in
(ifGraphical [
speedcrunch
mpv
libreoffice-fresh
krita