diff options
| author | arpitchakladar <arpitchakladar@gmail.com> | 2026-09-09 19:42:48 +0530 |
|---|---|---|
| committer | arpitchakladar <arpitchakladar@gmail.com> | 2026-09-09 19:42:48 +0530 |
| commit | 7879122dfc8e7ca7b905e10d5f55df09f9051295 (patch) | |
| tree | e57194d5efb8d67f569549790e847684de03614c /users | |
| parent | 140394b7ab67124f186358a4471164cb4a1ae967 (diff) | |
| download | home-manager-config-7879122dfc8e7ca7b905e10d5f55df09f9051295.tar.gz home-manager-config-7879122dfc8e7ca7b905e10d5f55df09f9051295.zip | |
feat(users/arpit)!: moved modules/private to user specific config
BREAKING CHANGES: modules/private isn't used anymore
Diffstat (limited to 'users')
| -rw-r--r-- | users/arpit/default.nix (renamed from users/arpit.nix) | 5 | ||||
| -rw-r--r-- | users/arpit/private.example.nix | 55 |
2 files changed, 56 insertions, 4 deletions
diff --git a/users/arpit.nix b/users/arpit/default.nix index 837d2bf..9348884 100644 --- a/users/arpit.nix +++ b/users/arpit/default.nix @@ -2,10 +2,7 @@ { config, ... }: { imports = [ - ../modules/private/calcurse.nix - ../modules/private/email.nix - ../modules/private/git.nix - ../modules/private/gopass.nix + ./private.nix ]; nixpkgs.config.allowUnfree = true; diff --git a/users/arpit/private.example.nix b/users/arpit/private.example.nix new file mode 100644 index 0000000..77e5f54 --- /dev/null +++ b/users/arpit/private.example.nix @@ -0,0 +1,55 @@ +{ ... }: +{ + # Calcurse - Template for configuring calcurse, specially syncing + config.office.calcurse.sync = { + remote = "YOUR_REPOSITORY_URL"; + credential = { + username = "example"; + passwordGopassPath = "websites/github.com/example/tokens/calendar"; + }; + }; + + # Email - Template for configuring neomutt email accounts + config.communication.neomutt.accounts = { + "example@gmail.com" = { + realName = "Example User"; + address = "user@gmail.com"; + passwordGopassSecret = "mail/user@gmail.com"; + flavor = "gmail.com"; + primary = true; + neomutt.extraConfig = '' + set pgp_default_key = YOUR_GPG_KEY_FINGERPRINT + ''; + gpg = { + key = "YOUR_GPG_KEY_ID"; + signByDefault = true; + encryptByDefault = false; # set true only if you also want auto-encrypt + }; + }; + }; + + # Git - Template for configuring git identity and signing + config.development.git = { + username = "Your Name"; + email = "you@example.com"; + signing = { + key = "EXAMPLE_GPG_KEY_ID"; + signByDefault = true; + }; + }; + + # SSH keys to load from gopass (entries under ssh/ in the gopass store) + config.security.ssh.gopassKeys = [ + "github" + "gitlab" + ]; + + # 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"; + }; + }; +} |
