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
maralorn has quit [Quit: WeeChat 2.4]
maralorn has joined #home-manager
maralorn has quit [Quit: WeeChat 2.4]
maralorn has joined #home-manager
andi- has quit [Ping timeout: 246 seconds]
andi- has joined #home-manager
evanjs- has quit [Remote host closed the connection]
evanjs has joined #home-manager
alexbakker has quit [Quit: Dikke doei]
alexbakker has joined #home-manager
alexbakker has quit [Quit: Dikke doei]
alexbakker has joined #home-manager
alexbakker has quit [Quit: Dikke doei]
alexbakker has joined #home-manager
__monty__ has joined #home-manager
alexbakker has quit [Quit: Dikke doei]
alexbakker has joined #home-manager
alexbakker has quit [Quit: Dikke doei]
alexbakker has joined #home-manager
alexbakker has quit [Quit: Dikke doei]
alexbakker has joined #home-manager
alexbakker has quit [Quit: Dikke doei]
alexbakker has joined #home-manager
W1lkins has joined #home-manager
<W1lkins> I'm trying to use home-manager as a module as part of nix-darwin, I add the channel via `nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager` and then run `nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer && ./result/bin/darwin-installer` where I import:
<W1lkins> `<home-manager/nix-darwin>` but I get the error "The option `programs.git' defined in `/Users/jw/.config/nixpkgs/modules/base/git' does not exist." when trying to use an option from home-manager.. any ideas?
<rycee> W1lkins: How do you set the option?
<W1lkins> rycee here is the base/git/default.nix file: https://bpaste.net/show/S6OP4
<W1lkins> I'm super new to the world of nix for package/home dir management so let me know if I misunderstood your question
__monty__ has quit [Quit: leaving]
<rycee> You can't mix Home Manager and NixOS options like that. The Home Manager options are per-user. So, e.g., `home-manager.users.w1lkins.programs.git = …` instead of just `programs.git`.
<W1lkins> Do I have to create the user as part of this setup too or something? if I switch to what you wrote above I get: `attribute 'wilkins' missing, at /Users/wilkins/.nix-defexpr/channels/home-manager/nix-darwin/default.nix:16:23`
<W1lkins> By "create the user" I mean let home-manager know about it somehow? the user already exists on the system
<rycee> Hmm, don't think so.
<rycee> Ah, perhaps the nix-darwin option `users.users.wilkins` needs to be set.
<rycee> Or you could set `home-manager.users.wilkins.home.username` and `home-manager.users.wilkins.home.homeDirectory`.
<rycee> To their obvious values :-)
<hexa-> hm … can I force a window non-floating in the i3 module?
<rycee> hexa-: Sorry, I've no idea.
<hexa-> looks very "floating enable"y :)
<W1lkins> rycee having users.users.wilkins defined fixed it. Thank you
<rycee> W1lkins: You can check in #nix-darwin whether it's advisable to use the nix-darwin option `users.users`/
<rycee> W1lkins: Cool :-)
<rycee> hexa-: Maybe could use the general windows command thing that's on the line below to disable floating for a specific window?
<hexa-> I'll check :)
<hexa-> indeed, that looks like it :) thx
<rycee> Np, glad it worked out :-)
hax404 has quit [Ping timeout: 245 seconds]
hax404 has joined #home-manager
hax404 has quit [Remote host closed the connection]
hax404 has joined #home-manager