Link: https://github.com/nix-community/stylix/pull/1700 Reviewed-by: awwpotato <awwpotato@voidq.com>
21 lines
404 B
Nix
21 lines
404 B
Nix
{ lib, pkgs, ... }:
|
|
let
|
|
package = pkgs.firefox;
|
|
profileName = "stylix";
|
|
in
|
|
{
|
|
stylix.testbed.ui.application = {
|
|
name = "firefox";
|
|
inherit package;
|
|
};
|
|
|
|
home-manager.sharedModules = lib.singleton {
|
|
programs.firefox = {
|
|
enable = true;
|
|
inherit package;
|
|
profiles.${profileName}.isDefault = true;
|
|
};
|
|
|
|
stylix.targets.firefox.profileNames = [ profileName ];
|
|
};
|
|
}
|