From 530aff43ed26e75f5a2721981f2facf48245b262 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Sun, 23 Jun 2024 19:01:04 +0530 Subject: [PATCH] feat: Use 1password nixos module --- common/gui.nix | 3 +-- nixos/ryu.nix | 7 +++++++ overlays.nix | 8 ++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/common/gui.nix b/common/gui.nix index 528b1bf7..f2c8eab8 100644 --- a/common/gui.nix +++ b/common/gui.nix @@ -8,12 +8,11 @@ lib.attrsets.optionalAttrs device.hasGui { home.packages = with pkgs; [ - _1password via + # _1password-gui # neovide ] ++ lib.optionals device.isLinux [ - _1password-gui discord bottles # minecraft diff --git a/nixos/ryu.nix b/nixos/ryu.nix index 31d1cf02..0e36c0b4 100644 --- a/nixos/ryu.nix +++ b/nixos/ryu.nix @@ -8,6 +8,13 @@ ... }: { imports = [(modulesPath + "/installer/scan/not-detected.nix")]; + programs = { + _1password.enable = true; + _1password-gui = { + enable = true; + polkitPolicyOwners = ["servius"]; + }; + }; hardware.opengl = { enable = true; diff --git a/overlays.nix b/overlays.nix index 7f8319f5..77de95c4 100644 --- a/overlays.nix +++ b/overlays.nix @@ -219,6 +219,14 @@ ]; }); }; + # _1password = final: prev: { + # _1password-gui = prev._1password-gui.override { + # polkitPolicyOwners = ["servius"]; + # }; + # # _1password = prev._1password.override { + # # polkitPolicyOwners = ["servius"]; + # # }; + # }; in [ inputs.subflakes.overlays.default libfprint