Add a gnome-theme testbed and extract the profile name in the default testbed. Link: https://github.com/danth/stylix/pull/879 Co-authored-by: Daniel Thwaites <danth@danth.me> Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Reviewed-by: Daniel Thwaites <danth@danth.me> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
23 lines
421 B
Nix
23 lines
421 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
let
|
|
package = pkgs.firefox;
|
|
profileName = "stylix";
|
|
in
|
|
{
|
|
stylix.testbed.application = {
|
|
enable = true;
|
|
name = "firefox";
|
|
inherit package;
|
|
};
|
|
|
|
home-manager.sharedModules = lib.singleton {
|
|
programs.firefox = {
|
|
enable = true;
|
|
inherit package;
|
|
profiles.${profileName}.isDefault = true;
|
|
};
|
|
|
|
stylix.targets.firefox.profileNames = [ profileName ];
|
|
};
|
|
}
|