Skip to content

tkren/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

29eb65b · Jan 14, 2024

History

79 Commits
Apr 16, 2023
May 2, 2020
Jan 14, 2024
Jan 28, 2023
Jan 28, 2023
Apr 22, 2020
Aug 12, 2021
Dec 21, 2020
May 30, 2020
Dec 21, 2020
Feb 18, 2023

Repository files navigation

dotfiles

This is my repository of chezmoi managed configuration files for the following tools:

Clone configuration repository

Clone this repo into ~/.local/share/chezmoi:

chezmoi init https://github.com/tkren/dotfiles.git

chezmoi data configuration

Edit your chezmoi data with

chezmoi edit-config

This will open ~/.config/chezmoi/chezmoi.toml in your editor, which will be used to generate all configuration files.

Use this as a schema for your own chezmoi user data:

[data]
email = "USER EMAIL"
debemail = "DEBIAN EMAIL"
lang = "en_US.UTF-8"
lc_collate = "C.UTF-8"
lc_ctype = "C.UTF-8"
lc_monetary = "en_CA.UTF-8"
lc_time = "en_DK.UTF-8"
name = "YOUR NAME"
papersize = "LOCALIZED PAPER SIZE"
timezone = "TIMEZONE NAME"

[data.git]
signingkey = "DEFAULT 0xKEYID"
signcommit = true

[data.gnupg]
default_key = "DEFAULT KEYID"
hidden_encrypt_to = ["KEYID1", "KEYID2", ...]
sshcontrol = ["KEYGRIP1", "KEYGRIP2", ...]
pinentry_program = "/path/to/bin/pinentry"

[data.mutt]
domain = "MY.TLD"
alternates = ["EMAIL1", "EMAIL2", ...]
bcc = "BCC@MY.TLD"
pgp_default_key = "DEFAULT KEYID"
pgp_sign_as = "KEYID"
imaps_uri = "IMAP SERVER"
imaps_pass = "pass mail/imap.postsubmeta.net"
mailing_lists = ["MAILING LIST1", "MAILING LIST2", ...]

[data.emacs]
epg_user_id = "DEFAULT KEYID"
printer_name = "PRINTERNAME"
latitude = "LOCATION LATITUDE"
longitude = "LOCATION LONGITUDE"
timezone = "STD TZ NAME"
daylight_tz = "DAYLIGHT TZ NAME"
standard_tz = "STD TZ NAME"
utc_offset = "UTC OFFSET IN MINUTES"
location = "LOCATION NAME"

Check the settings with

chezmoi data

Deploy configuration files

Deploy the configuration files to your home directory with

chezmoi apply -v

Releases

No releases published

Packages

No packages published