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
All checks were successful
Nix Format Check / check-format (push) Successful in 39s
This commit is contained in:
parent
4fab06b82b
commit
9236bf36f1
@ -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;
|
|
||||||
};
|
|
||||||
}
|
|
25
config/nixos/packages/workstation/1password.nix
Normal file
25
config/nixos/packages/workstation/1password.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user