skip firefox on servers

This commit is contained in:
Sean Buckley 2023-11-11 14:02:01 -05:00
parent 0b40dcad4e
commit 09a6c9431a

View file

@ -1,5 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
config = lib.mkIf (config.sconfig.desktop.enable) {
environment.systemPackages = [ environment.systemPackages = [
(pkgs.wrapFirefox pkgs.firefox-unwrapped { (pkgs.wrapFirefox pkgs.firefox-unwrapped {
extraPolicies = { extraPolicies = {
@ -41,4 +42,5 @@
}; };
}) })
]; ];
};
} }