about summary refs log tree commit diff
path: root/home/wm/gnome
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-09-24 13:16:25 -0700
committerFranck Cuny <franck@fcuny.net>2022-09-24 13:16:25 -0700
commit5bd70ea1457dee66fc862d578ba5f1bf3777d3eb (patch)
tree07eee49c88a55ee3261bb6f079428df1c718b23f /home/wm/gnome
parentfix(modules/home): delete the module (diff)
downloadworld-5bd70ea1457dee66fc862d578ba5f1bf3777d3eb.tar.gz
fix(home/wm): unlock gnome-keyring when logging
Diffstat (limited to 'home/wm/gnome')
-rw-r--r--home/wm/gnome/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/home/wm/gnome/default.nix b/home/wm/gnome/default.nix
new file mode 100644
index 0000000..0b14a0b
--- /dev/null
+++ b/home/wm/gnome/default.nix
@@ -0,0 +1,17 @@
+{ config, lib, pkgs, ... }:
+let
+  isEnabled = config.my.home.wm.windowManager == "sway";
+in
+{
+  config = lib.mkIf isEnabled {
+    home.packages = with pkgs; [ gnome.gnome-keyring ];
+    services.gnome-keyring = {
+      enable = true;
+      components = [
+        "pkcs11"
+        "secrets"
+        "ssh"
+      ];
+    };
+  };
+}