aboutsummaryrefslogtreecommitdiffstats
path: root/modules/private/gopass.example.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-09-02 18:09:34 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-09-02 18:09:34 +0530
commit4a1a196c4c08bd34226bc25bfefd0227ce53b092 (patch)
tree334b47964b275ab54084c2eaaf9170fa1651143b /modules/private/gopass.example.nix
parent1d7e16552cb230b0d35dcad01fb023990186c636 (diff)
downloadhome-manager-config-4a1a196c4c08bd34226bc25bfefd0227ce53b092.tar.gz
home-manager-config-4a1a196c4c08bd34226bc25bfefd0227ce53b092.zip
feat(security/gopass): options to add username and password for git remote
Diffstat (limited to 'modules/private/gopass.example.nix')
-rw-r--r--modules/private/gopass.example.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/private/gopass.example.nix b/modules/private/gopass.example.nix
new file mode 100644
index 0000000..2d783c9
--- /dev/null
+++ b/modules/private/gopass.example.nix
@@ -0,0 +1,13 @@
+# Gopass - Template for configuring gopass, specially syncing
+{ ... }:
+{
+ config = {
+ security.gopass.sync = {
+ remote = "YOUR_REPOSITORY_URL";
+ credential = {
+ username = "example";
+ passwordGopassPath = "websites/github.com/example/tokens/calendar";
+ };
+ };
+ };
+}