11.stylix/modules/firefox/testbed.nix

22 lines
384 B
Nix

{ lib, pkgs, ... }:
let
package = pkgs.firefox;
in
{
stylix.testbed.application = {
enable = true;
name = "firefox";
inherit package;
};
home-manager.sharedModules = lib.singleton {
programs.firefox = {
enable = true;
inherit package;
profiles.stylix.isDefault = true;
};
stylix.targets.firefox.profileNames = [ "stylix" ];
};
}