aboutsummaryrefslogtreecommitdiff
path: root/modules/1password/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/1password/default.nix')
-rw-r--r--modules/1password/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/1password/default.nix b/modules/1password/default.nix
new file mode 100644
index 0000000..5e650cd
--- /dev/null
+++ b/modules/1password/default.nix
@@ -0,0 +1,26 @@
+{ config, lib, ... }:
+
+{
+ environment.etc ={
+ "1password/custom_allowed_browsers" = {
+ text = ''
+ firefox
+ librewolf
+ '';
+ mode = "0755";
+ };
+ };
+
+ nixpkgs.config = {
+ allowUnfree = lib.mkForce true;
+ };
+
+ programs = {
+ _1password.enable = true;
+ _1password-gui = {
+ enable = true;
+ polkitPolicyOwners = [ "aethrvmn" ];
+ };
+ };
+}
+
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.