rycee changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/rycee/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sheeldotme has joined #home-manager
wolfjb has joined #home-manager
<wolfjb> Hello, I have installed home-manager and added the "oh-my-zsh" configuration, also installed fzf package and the module for zsh in the oh-my-zsh configuration in my home.nix file. However, starting a shell gives the message "Please add `export FZF_BASE=/path/to/fzf/install/dir` to your .zshrc" - but the .zshrc file is not writable. Nor is the .zshenv file, matter of fact those files are symlinks to files owned by root. So, how does one
<wolfjb> go about adding environment variables?
<simpson> wolfjb: I think home.sessionVariables, in home-manager, would be the place to configure that. Not sure though.
<wolfjb> Thank you, I'll try it. I tried looking in the home manager manual, I just didn't see anything. maybe I must missed it
<simpson> No worries. I may be entirely wrong.
<nicolas[m]2> If you use fzf with `programs.fzf.enable` then it should be automatically added to your `.zshrc`
<wolfjb> oh...
<wolfjb> that is way simpler than what I was trying to do
<simpson> nicolas[m]2++ for a more careful reading of docs.
<{^_^}> nicolas[m]2's karma got increased to 1
mog has quit [Ping timeout: 260 seconds]
mog has joined #home-manager
<wolfjb> so, I have programs.emacs.enable = true; but starting emacs never seems to read my config files in .emacs.d. I don't want to manage my rather large emacs configuration in home-manager, how do I get it to use my .emacs.d/ folder?
<wolfjb> sorry for the n00b questions.
<wolfjb> nevermind... I found the problem - it was between the keyboard and the chair.... I had a superfluous .emacs file laying about... I never use that and wasn't looking for it. `rm ~/.emacs` and all is well.
<wolfjb> however, adding 'programs.fzf.enable = true;' did not add the FZF_BASE environment variable, I still get the same message when I start a shell, even after logout/login
<wolfjb> gah... one of these days I'm going to stop being as much of a knucklehead as I'm being tonight...
<sheeldotme> It happens to the best of us.
<wolfjb> :-D
wolfjb has left #home-manager ["ERC (IRC client for Emacs 26.3)"]
mog has quit [Ping timeout: 240 seconds]
<nicolas[m]2> <wolfjb "however, adding 'programs.fzf.en"> If you do `grep -i fzf ${ZDOTDIR-$HOME}` what do you get?
<nicolas[m]2> > <@freenode_wolfjb:matrix.org> however, adding 'programs.fzf.enable = true;' did not add the FZF_BASE environment variable, I still get the same message when I start a shell, even after logout/login
<nicolas[m]2> * If you do `grep -i fzf ${ZDOTDIR-$HOME}/.zshrc` what do you get?
<{^_^}> error: syntax error, unexpected '<', at (string):317:1
<nicolas[m]2> Woops wrong command, try this instead: `grep -i fzf ${ZDOTDIR-$HOME}/.zshrc`
mog has joined #home-manager
cole-h_ has joined #home-manager
cole-h has quit [Ping timeout: 258 seconds]
cole-h_ is now known as cole-h
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sheeldotme has joined #home-manager
sheeldotme has quit [Client Quit]
sheeldotme has joined #home-manager
klntsky has quit [Ping timeout: 240 seconds]
klntsky has joined #home-manager
cole-h has quit [Quit: Goodbye]
cole-h has joined #home-manager
cole-h has quit [Client Quit]
sheeldotme has quit [Read error: Connection reset by peer]
sheeldotme has joined #home-manager
klntsky has quit [Ping timeout: 240 seconds]
klntsky has joined #home-manager
asymptotically has joined #home-manager
__monty__ has joined #home-manager
dermetfan has joined #home-manager
sheeldotme has quit [Read error: Connection reset by peer]
<jschievink> Hi! It seems that the `home.keyboard` configuration is not applied when hot-plugging keyboards. Is that expected behavior? Any way to accomplish this?
asymptotically has quit [Quit: Leaving]
enick_846 has joined #home-manager
<enick_846> Hi, is there a way to make file created with home-manager to have permissions "0600"? It seems .mode has been removed and I am not able to find replacement.
cole-h has joined #home-manager
__monty__ has quit [Quit: leaving]
<cole-h> Is `home.sessionVariables` supposed to work when using the h-m NixOS module? I'm using it in combination with `useGlobalPkgs` and `useUserPackages`, and none of the variables are getting set as I'd expect them to.
dermetfan has quit [Ping timeout: 260 seconds]
asymptotically has joined #home-manager
dermetfan has joined #home-manager
sheeldotme has joined #home-manager
<sheeldotme> Anyone know if there is there a config option to start an ssh-agent or would I have to write a custom systemd service?
sheeldotme has quit [Read error: Connection reset by peer]
<nicolas[m]2> You can enable the Gnome Keyring or gpg-agent
<nicolas[m]2> <enick_846 "Hi, is there a way to make file "> You could probably chmod the file in 1. an activation script or 2. using home-manager onChange option for `home.files` and `xdg.configFile`
cole-h has quit [Ping timeout: 240 seconds]
cole-h has joined #home-manager
<rycee> penistester: Not really, the file in the Nix store will have permissions 111 or 444 and that can't be changed. If you want something else you will have to copy the file into place yourself in an activation block or similar.
<rycee> Uh, s/111/555/
<rycee> nicolas: This channel is bridged to IRC so it's best not to use any Matrix features that are unsupported by IRC. Like replies and multiline messages.
<cole-h> rycee: If you need me to test anything, I figure it will be faster if you ping me here, rather than posting on the PR :P Just let me know!
cjpbirkbeck has joined #home-manager
asymptotically has quit [Quit: Leaving]
dermetfan has quit [Ping timeout: 272 seconds]
cjpbirkbeck has quit [Quit: cjpbirkbeck]
cjpbirkbeck has joined #home-manager
cjpbirkbeck has quit [Client Quit]
cjpbirkbeck has joined #home-manager
yasu has joined #home-manager