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
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #home-manager
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #home-manager
hpfr has joined #home-manager
hpfr has quit [Remote host closed the connection]
hpfr has joined #home-manager
maralorn has quit [Quit: WeeChat 2.6]
maralorn has joined #home-manager
hpfr has quit [Remote host closed the connection]
funfrock has joined #home-manager
<funfrock> I'm not able to get gnome-keyring to save passwords. I have this in my config:
<funfrock> `services.gnome-keyring.enable - true;` and have installed the packages `gnome3.{dconf,gnome-keyring,libgnome-keyring,seahorse}`
<funfrock> gnome-keyring is running according to `ps`, but if I open seahorse and try to create a keyring I get the error "no such secret colleciton at path: /"
<funfrock> any tips on what I'm missing?
<funfrock> I'm not using gnome, if that's relevant
<funfrock> I would also settle for an alternative way to store networkmanager passwords
funfrock has quit [Ping timeout: 260 seconds]
mexisme has quit [Ping timeout: 240 seconds]
mexisme has joined #home-manager
hpfr has joined #home-manager
mexisme has quit [Ping timeout: 265 seconds]
teto has joined #home-manager
pie_ has joined #home-manager
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 245 seconds]
__monty__ has joined #home-manager
hpfr has quit [Remote host closed the connection]
<__monty__> Hmm, I'm setting both SHELL and EDITOR using HM but both end up set by nix or something, i.e., bash and nano rather than fish and vim.
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 276 seconds]
klntsky has quit [Remote host closed the connection]
klntsky has joined #home-manager
<rycee> funfrock: Hmm, I think it's supposed to work out of the box but it's been a long time since I created a new keyring. I'm not on my laptop right now so can't check. It might be that you have to manually create a default keyring...
<rycee> monty: Do you import the generated hm-session-vars.sh file?
<rycee> (If you aren't using the fish module)
<rycee> If you're using the module, have you relogged after activating the configuration?
<__monty__> I am using the fish module though.
<__monty__> Not logged out/in. But I did restart my terminal.
<__monty__> I'm on macOS. I don't think that loads environment files like linux does anyways?
<alexarice[m]> __monty__: fish variables work for me
<rycee> __monty__: Oh, I'm not certain how it works on macOS but give relogging a try.
<rycee> Just restarting the terminal is not enough to update the environment variables.
<__monty__> Why not? Shouldn't fish parse its config when starting up again?
<__monty__> This looks suspicious though: fenv source /var/empty/.nix-profile/etc/profile.d/hm-session-vars.sh > /dev/null
<__monty__> /var/empty?
wrl has joined #home-manager
<wrl> hey, if i'm doing a nixpkgs override in my home-manager config, is there a good way to specify a path to home?
<wrl> i'm doing `nixpkgs.config.packageOverrides = pkgs: { renoise = pkgs.renoise.override { releasePath = "~/Downloads/filename.tgz" }; };`
<wrl> but nix doesn't like the ~
<__monty__> Does $HOME work?
<wrl> __monty__: so, actually, i can't make *anything* work
<wrl> absolute path doesn't work
<wrl> relative doesn't work
<rycee> wrl: Perhaps a path literal?
<wrl> `tar: $HOME/Downloads/rns_321b1_linux_x86_64.tar.gz: Cannot open: No such file or directory`
<wrl> same happens with absolute path
<__monty__> rycee: Relogging didn't work btw. Must be because it's referencing a non-existent .nix-profile though.
<rycee> I.e., remove the quotes...
<wrl> rycee: oh, that *does* work
<wrl> huh!
<rycee> monty: Yeah, that would be a problem. Do you use the nix-darwin module?
<__monty__> rycee: Yes.
<rycee> __monty__: Hmm, sounds like `config.home.profileDirectory` gets set to some wrong value. It should be set to the actual profile directory.
<rycee> __monty__: Ah, are you managing your user with nix-darwin?
<__monty__> Yes, users.users.toonn = { shell = pkgs.fish; };
<rycee> You could try setting `home-manager.useUserPackages = true;` in your nix-darwin configuration.
<__monty__> But I had to set it to false because otherwise home-manager .apps didn't end up in .nix-profile.
<rycee> Ah, ok.
<rycee> Could you try adding `users.users.toonn.home = "[path to your home directory]";`?
<rycee> I'm no macOS user so I'm guessing a bit :-)
<rycee> But the nix-darwin module includes `home.username = config.users.users.${name}.name; home.homeDirectory = config.users.users.${name}.home;` which would imply that the user's name and home options should be set.
<rycee> I guess the name is set automatically from the attribute name but perhaps the home one is not?
<__monty__> It works if I specify an absolute path.
<__monty__> Seems weird that it'd be necessary though.
<__monty__> ~ is always /Users/$username on macOS.
mexisme has joined #home-manager
mexisme has quit [Ping timeout: 246 seconds]
hpfr has joined #home-manager
<__monty__> rycee: HM sets the fish PATH, right? MacOS's /usr/bin is shadowing my nix-profile which means I'm using the wrong vim and other binaries that are included with macOS. Any way to change that?
mexisme has joined #home-manager
<evelyn> the Mac actually does have /home but it's used for network shares or something.
<__monty__> Could be but besides the point because it's not for home directories?
klntsky has quit [Remote host closed the connection]
klntsky has joined #home-manager
mexisme has quit [Ping timeout: 264 seconds]
<rycee> __monty__: No, HM never set the PATH variable. That is handled by the Nix installation.
pie_ has quit [Ping timeout: 250 seconds]
__monty__ has quit [Quit: leaving]
gjabell has quit [Ping timeout: 265 seconds]
gjabell has joined #home-manager