refactor to fix dependency on 'osConfig' arg
This commit is contained in:
11 files changed
+86
-55
No files matched your search
@@ -1,13 +1,19 @@
|
||||
{ inputs, self, ... }: {
|
||||
flake.homeModules.graphics = { pkgs, lib, config, osConfig, ... }: {
|
||||
flake.nixosModules.graphics = { pkgs, lib, config, ... }: {
|
||||
home-manager.sharedModules = lib.mkIf (config.features.nixos.stylix.enable) [
|
||||
({ config, lib, ... }: {
|
||||
stylix.targets.floorp.profileNames = lib.mkIf (config.features.applications.gui.floorp.enable) [ "default" ];
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
flake.homeModules.graphics = { pkgs, lib, config, ... }: {
|
||||
options.features.applications.gui.floorp.enable = lib.mkEnableOption "floorp";
|
||||
|
||||
config = lib.mkIf (config.features.applications.gui.floorp.enable) (
|
||||
let
|
||||
firefox-addons = with pkgs; inputs.firefox-addons.packages.${system};
|
||||
in {
|
||||
stylix.targets.floorp.profileNames = [ "default" ];
|
||||
|
||||
programs.floorp = {
|
||||
enable = true;
|
||||
nativeMessagingHosts = [
|
||||
|
||||
Reference in new issue
Block a user