Skip to content

Enabling zen-browser and 1password on nix-darwin #82

@mattstruble

Description

@mattstruble

I have my configuration set up according to the documentation:

#darwin.nix 
environment.etc = {
   "1password/custom_allowed_browsers" = {
         text = '' 
            zen 
            zen-twilight
         '';
    };
};

programs = { 
   _1password.enable = true; 
   _1password-gui.enable = true;
};
#home.nix 
imports = [ inputs.zen-browser.homeModules.twilight ]; 
programs.zen-browser = { 
    enable = true; 
    policies = { ... }; 
};

But when opening up 1password zen isn't in the approved browsers, and when trying to manually add /Users/<user>/Applications/Home Manager Apps/Zen Browser (Twilight).app I am presented with the error: The selected application was signed in an unsupported way or may be missing a required identifier.

The official 1password page says that on MacOS the applications need to be signed by apple. Is it possible to get the signed apps via nix-darwin (with custom policies and extensions), maybe via nix-homebrew, or is it just not possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions