aboutsummaryrefslogtreecommitdiff
path: root/modules/1password
diff options
context:
space:
mode:
authoraethrvmn <me@aethrvmn.gr>2025-11-30 21:59:43 +0000
committeraethrvmn <me@aethrvmn.gr>2025-11-30 21:59:43 +0000
commit893ea11e1dc05fe1a2a34e66d4ebcfdffda34720 (patch)
treeef454e299f49cbb58e1b9fbafd0b759b4379ac2a /modules/1password
parentadded .lock to ignorelist (diff)
huge restructure of modules
Diffstat (limited to '')
-rw-r--r--modules/1password/default.nix (renamed from modules/client/1password/default.nix)22
1 files changed, 13 insertions, 9 deletions
diff --git a/modules/client/1password/default.nix b/modules/1password/default.nix
index 7d01e3d..5e650cd 100644
--- a/modules/client/1password/default.nix
+++ b/modules/1password/default.nix
@@ -1,14 +1,6 @@
-{ config, pkgs, ... }:
+{ config, lib, ... }:
{
- programs = {
- _1password.enable = true;
- _1password-gui = {
- enable = true;
- polkitPolicyOwners = [ "aethrvmn" ];
- };
- };
-
environment.etc ={
"1password/custom_allowed_browsers" = {
text = ''
@@ -18,5 +10,17 @@
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.