firefox/testbeds/gnome: simplify by extending default testbed
This commit is contained in:
parent
8c0640d572
commit
10a59f5cff
1 changed files with 3 additions and 19 deletions
|
|
@ -1,24 +1,8 @@
|
|||
{ lib, pkgs, ... }:
|
||||
let
|
||||
package = pkgs.firefox;
|
||||
profileName = "stylix";
|
||||
in
|
||||
{ lib, ... }:
|
||||
{
|
||||
stylix.testbed.ui.application = {
|
||||
name = "firefox";
|
||||
inherit package;
|
||||
};
|
||||
imports = [ ./firefox.nix ];
|
||||
|
||||
home-manager.sharedModules = lib.singleton {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
inherit package;
|
||||
profiles.${profileName}.isDefault = true;
|
||||
};
|
||||
|
||||
stylix.targets.firefox = {
|
||||
profileNames = [ profileName ];
|
||||
firefoxGnomeTheme.enable = true;
|
||||
};
|
||||
stylix.targets.firefox.firefoxGnomeTheme.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue