Fix error on non-wsl and graphical hosts

main
Carsten Kragelund 2023-04-25 11:54:21 +02:00
parent 401ef3373a
commit 62c54a3da0
Signed by: nyx
GPG Key ID: CADDADEEC9F753C0
2 changed files with 5 additions and 3 deletions

@ -3,7 +3,7 @@
, pkgs , pkgs
, ... , ...
}: { }: {
config = lib.mkIf (!config.wsl.enable) { config = lib.mkIf (!config.wsl.enable or false) {
boot.loader = { boot.loader = {
systemd-boot = { systemd-boot = {
enable = true; enable = true;

@ -188,7 +188,10 @@
fd fd
jq jq
mcfly mcfly
pinentry-curses (if osConfig.graphical then
pinentry-gtk2
else
pinentry-curses)
unzip unzip
yq yq
wezterm wezterm
@ -217,7 +220,6 @@
gparted gparted
numberstation numberstation
pavucontrol pavucontrol
pinentry-gtk2
recursive recursive
wireplumber wireplumber
# Local # Local