ChanServ changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/nix-community/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
chisui89 has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 240 seconds]
MmeQuignon has quit [Ping timeout: 264 seconds]
rajivr has joined #home-manager
makefu has quit [Ping timeout: 260 seconds]
mcornick has quit [Quit: leaving]
makefu has joined #home-manager
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 260 seconds]
stephank7 has joined #home-manager
stephank has quit [Ping timeout: 264 seconds]
stephank7 is now known as stephank
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
AlpineLlama has joined #home-manager
srk has quit [Ping timeout: 268 seconds]
srk has joined #home-manager
ronthecookie has quit [Excess Flood]
ronthecookie has joined #home-manager
kenran has joined #home-manager
chisui has joined #home-manager
chisui has quit [Quit: Connection closed]
chisui has joined #home-manager
o1lo01ol1o has joined #home-manager
cole-h has quit [Quit: Goodbye]
cole-h has joined #home-manager
heartman has joined #home-manager
<heartman> Question regarding email account management via home-manager. When specifying a signature via `accounts.email.accounts.<name>.signature`, where does it go? I'm trying to set notmuch up to use the signature file, but I can't seem to find it. Thanks!
cole-h has quit [Ping timeout: 245 seconds]
kenran has quit [Quit: leaving]
<aforemny> heartman: The file goes into Nix store as signature.txt
<heartman> aforemny: Oh, that's interesting. So unless I use neomutt, the option doesn't really do anything? Would the next best thing be to use home-manager to write arbitrary text files and source them, then? I'm still quite new to home-manager, so I haven't figured it all out yet. Or when you say the file goes in the Nix store, is there a way to find it reliably?
<aforemny> aforemny: `pkgs.writeText "signature.txt" account.signature.text` should yield the same path for identical input `accounts.signature.text`. So if you duplicate that call, it should not duplicate the file. If you want a persistent location, you could add, say, `home.file."signature.txt".text = config.account.signature.text` to your configuration and it will be in `~/.signature.txt`.
<aforemny> heartman: Yeah, the option does not do anything unless you use neomutt. If you feel like it, you could add support for that in home-manager for notmuch similarly.
<heartman> aforemny: Thanks! I'll probably try out the `home.file."signature.txt"` route first. I don't have any experience using signatures in notmuch so I'm not sure how I'd start adding support to it. Maybe one day
<aforemny> heartman: Yeah, I think that is a good way to get started. Note that `accounts.email.accounts.<name>.signature` may be multiple acconuts. So you will have to get the default account or use different file names for each.
<heartman> aforemny: Nice! Yeah, I thought about that. If I want to create a directory and write files in it, how would I do that? `home.file."path/file.txt"`?
<aforemny> heartman: Exactly. Just create the file under `path` and the directory will be created automatically.
<heartman> aforemny: Cool; thanks!
MmeQuignon has joined #home-manager
__monty__ has joined #home-manager
o1lo01ol1o has quit [Remote host closed the connection]
hexa- has quit [Quit: WeeChat 2.9]
hexa- has joined #home-manager
kenran has joined #home-manager
superherointj has joined #home-manager
heartman has left #home-manager ["ERC (IRC client for Emacs 28.0.50)"]
evanjs has quit [Ping timeout: 276 seconds]
evanjs has joined #home-manager
kenran has quit [Quit: leaving]
cole-h has joined #home-manager
svrana has quit [Quit: WeeChat 2.9]
svrana has joined #home-manager
evanjs has quit [Ping timeout: 245 seconds]
evanjs has joined #home-manager
rajivr has quit [Quit: Connection closed for inactivity]
chisui has quit [Quit: Connection closed]
superherointj_ has joined #home-manager
superherointj has quit [Remote host closed the connection]
nerdypepper has quit [Ping timeout: 256 seconds]
energizer has quit [Ping timeout: 256 seconds]
ornxka has quit [Ping timeout: 256 seconds]
nerdypepper has joined #home-manager
ornxka has joined #home-manager
energizer has joined #home-manager
figgyc has quit [Quit: figgyc]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #home-manager
V is now known as v
v is now known as V
cole-h is now known as COLE-H
hexa- is now known as H
H is now known as hexa-
__monty__ has quit [Quit: leaving]
malSet has quit [Ping timeout: 260 seconds]
malSet has joined #home-manager
ashkitten is now known as ASHKITTEN
mcornick has joined #home-manager
superherointj_ has quit [Quit: Leaving]