revert 1password to nixos only, we install 1password on fedora by hand
All checks were successful
Nix Format Check / check-format (push) Successful in 39s

This commit is contained in:
Menno van Leeuwen 2025-01-02 02:02:04 +01:00
parent 4fab06b82b
commit 9236bf36f1
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE
2 changed files with 25 additions and 16 deletions

View File

@ -1,16 +0,0 @@
{ pkgs, pkgs-unstable, ... }:
{
home.packages = [
pkgs-unstable._1password-cli
pkgs-unstable._1password-gui
];
xdg.configFile."1password/custom_allowed_browsers" = {
text = ''
firefox
brave
zen
'';
executable = true;
};
}

View File

@ -0,0 +1,25 @@
{ pkgs, pkgs-unstable, ... }:
{
# Enables the 1Password CLI
programs._1password = {
enable = true;
};
# Enables the 1Password desktop app
programs._1password-gui = {
enable = true;
polkitPolicyOwners = [ "menno" ];
package = pkgs-unstable._1password-gui;
};
environment.etc = {
"1password/custom_allowed_browsers" = {
text = ''
firefox
brave
zen
'';
mode = "0755";
};
};
}