From a87553f8b1d63eef539b108bd1aa926d3b7bbdb5 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Tue, 19 Oct 2021 02:20:13 +0300 Subject: [PATCH] Use pass-secret-service --- profiles/workspace/gnome3/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/profiles/workspace/gnome3/default.nix b/profiles/workspace/gnome3/default.nix index 91e1446..a6f1616 100644 --- a/profiles/workspace/gnome3/default.nix +++ b/profiles/workspace/gnome3/default.nix @@ -38,10 +38,9 @@ }; home-manager.users.balsoft = { + services.pass-secret-service.enable = true; + home.activation.gnome = '' - $DRY_RUN_CMD mkdir -p "$XDG_DATA_HOME/keyrings" - $DRY_RUN_CMD ln -sf ${config.secrets-envsubst.gnome-keyring} "$XDG_DATA_HOME/keyrings/Default_keyring.keyring" - echo "Default_keyring" > "$XDG_DATA_HOME/keyrings/default" $DRY_RUN_CMD mkdir -p "$XDG_CONFIG_HOME/goa-1.0" $DRY_RUN_CMD ln -sf ${ ./accounts.conf @@ -93,9 +92,4 @@ }; }; }; - secrets-envsubst.gnome-keyring = { - owner = "balsoft:users"; - secrets = [ "matrix_token" "matrix_password" "email" "nextcloud" ]; - template = builtins.readFile ./gnome-keyring-template.conf; - }; }