srk has quit [Read error: Connection reset by peer]
srk has joined #home-manager
cmk_zzz_ has joined #home-manager
cmk_zzz has quit [Ping timeout: 272 seconds]
CMistress has joined #home-manager
<CMistress>
Hey all. Just wanted to say a huge thank you to you, nicolas[m] for yesterday. You really helped me, and I solved my problem in the end with neovim.
<nicolas[m]>
CMistress np, glad you were able to solve your issue, what was the solution in the end?
<CMistress>
I did have a different question though. I'm looking to slowly migrate my dotfiles (currently stored in git) to home-manager -- but I do have a need to have these files work across systems where it's not feasible to use home-manager (such as BSD). My question is this: some configs allow for things like extraConfig whereby I'm currently doing something like this: extraConfig = builtins.readFile ...; -- but this ends up
<CMistress>
creating a symlink of the file which would have had the contents to the nix store. Is there a way I can keep my dotfiles in one directory, and still supply the contents of them to the relevant home-manager config parts? I was wondering if I should be using foo.source instead?
<CMistress>
nicolas[m], I had aliased vim -> nvim and thus forgetting that nvim requires its files to be under .config/nvim
<nicolas[m]>
Yup, `home.files.<name>.source` and `xdg.configFile.<name>.source`
<CMistress>
So .source would reference the contents of the file without messing with it (i.e., symlinking it) -- I'm curious then builtins.readFile seemed to do that.
<CMistress>
So do I pre-enumerate the home.files.XXX ones I want to source, outside of programs.XXX = { ... }; and things will Just Work (tm)?
cole-h has joined #home-manager
rajivr has joined #home-manager
<alienpirate5>
my zsh config just completely stopped working... what can i do to troubleshoot?
<alienpirate5>
looks like ~/.config/zsh just doesn't exist anymore on my system
CMistress has quit [Ping timeout: 265 seconds]
patagonicus4 has joined #home-manager
patagonicus has quit [Ping timeout: 240 seconds]
patagonicus4 is now known as patagonicus
cmk_zzz_ has quit [Ping timeout: 240 seconds]
cmk_zzz has joined #home-manager
nerdypepper has joined #home-manager
<nerdypepper>
hiya o/, anyone using neovim 0.5 with lua plugins? i am having trouble setting up nvim-lspconfig
<nerdypepper>
neovim is unable to find lspconfig.lua despite setting rtp correctly
<Efim-Wool>
6 After restarting emacs server with commands for first answer in the exchange discussion, new process had same Xauthority as in my
<Efim-Wool>
5 $XAUTHORITY var
<Efim-Wool>
4
<Efim-Wool>
3 and I was able to connect with visual frames
<Efim-Wool>
2
<Efim-Wool>
1 So, could you help me troubleshoot this further?
<Efim-Wool>
22 I don't really understand Xorg and xauthority, it looks like on system startup the emacs server gets launched not in the proper context?
srk has quit [Ping timeout: 268 seconds]
srk has joined #home-manager
kenran has joined #home-manager
cole-h has joined #home-manager
<Efim-Wool>
Or could someone point me to a better place to get feedback?
<simpson>
I don't know the particulars of your problem, but it's enough to know that DISPLAY and XAUTHORITY are environment variables which libX11/libxcb use in order to find and authenticate to Xorg.
<simpson>
And the path of least resistance is usually to find a way to get those environment variables preserved and passed from your profile/login shell to your desktop.
<rycee>
The HM xsession setup imports "DBUS_SESSION_BUS_ADDRESS", "DISPLAY", "SSH_AUTH_SOCK", "XAUTHORITY", "XDG_DATA_DIRS", "XDG_RUNTIME_DIR", and "XDG_SESSION_ID" into the systemd environment by default.
<rycee>
Efim-Wool: So perhaps check if you have (at least) `systemctl --user import-environment DISPLAY XAUTHORITY` in your `~/.xprofile` file.
cole-h has quit [Ping timeout: 240 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
srk has quit [Remote host closed the connection]
srk has joined #home-manager
<Efim-Wool>
rycee : I definitely have this import, and .xprofile is managed by the home-manager