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
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 258 seconds]
judson has quit [Quit: ZNC 1.7.4 - https://znc.in]
judson has joined #home-manager
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #home-manager
dermetfan has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 246 seconds]
cole-h has joined #home-manager
LogicalOverflow has joined #home-manager
cole-h has quit [Quit: Goodbye]
LogicalOverflow has quit [Remote host closed the connection]
joesventek has quit [Remote host closed the connection]
theduke has quit [Ping timeout: 244 seconds]
dermetfan has joined #home-manager
joesventek has joined #home-manager
tristan[m] has quit [Ping timeout: 244 seconds]
rschulman has quit [Ping timeout: 240 seconds]
alaskacanyon[m] has quit [Ping timeout: 244 seconds]
bradparker has quit [Ping timeout: 244 seconds]
claudiii has quit [Ping timeout: 244 seconds]
pinage404[m] has quit [Ping timeout: 240 seconds]
sparogy has quit [Ping timeout: 244 seconds]
hpfr has quit [Ping timeout: 240 seconds]
Ox4A6F has quit [Ping timeout: 244 seconds]
claudiii has joined #home-manager
bradparker has joined #home-manager
Ke has quit [Ping timeout: 240 seconds]
siraben has quit [Ping timeout: 240 seconds]
ZerataX has quit [Ping timeout: 244 seconds]
hpfr has joined #home-manager
Notkea[m] has quit [Ping timeout: 244 seconds]
Dandellion has quit [Ping timeout: 240 seconds]
tristan[m] has joined #home-manager
Ke has joined #home-manager
jschievink has quit [Ping timeout: 240 seconds]
alaskacanyon[m] has joined #home-manager
siraben has joined #home-manager
pinage404[m] has joined #home-manager
o1lo01ol1o has joined #home-manager
rschulman has joined #home-manager
sparogy has joined #home-manager
theduke has joined #home-manager
Ox4A6F has joined #home-manager
jschievink has joined #home-manager
o1lo01ol1o has quit [Ping timeout: 244 seconds]
Notkea[m] has joined #home-manager
dermetfan has quit [Ping timeout: 272 seconds]
ZerataX has joined #home-manager
Dandellion has joined #home-manager
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
gordon has quit [Quit: WeeChat 2.3]
dermetfan has joined #home-manager
kalbasit has quit [Ping timeout: 272 seconds]
kalbasit has joined #home-manager
mankyKitty has quit [Ping timeout: 272 seconds]
mankyKitty has joined #home-manager
sgraf has quit [Ping timeout: 272 seconds]
sgraf has joined #home-manager
murmr has quit [Ping timeout: 272 seconds]
vdemeester has quit [Ping timeout: 272 seconds]
murmr has joined #home-manager
vdemeester has joined #home-manager
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #home-manager
o1lo01ol1o has quit [Remote host closed the connection]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #home-manager
zeta_0 has joined #home-manager
floehopper has joined #home-manager
floehopper has quit [Client Quit]
jamesmead has joined #home-manager
jamesmead is now known as floehopper
<zeta_0> rycee: hello there, i saw that you responded to my reddit post about emacs's lsp-java, i upgraded to emacs 27.1 with the emacs-overly, which fixed the dap-mode error that was being thrown, but now i can't install the java lsp, and it's associated tools, lsp-java-update-server throws the deprecation error, so i think my emacs packages are up to date, do you have anymore tips on how to fix this issue ?
__monty__ has joined #home-manager
<zeta_0> rycee: maybe there's other things that i'm missing.
tdeo has quit [Ping timeout: 256 seconds]
tdeo has joined #home-manager
zeta_0 has quit [Quit: rcirc on GNU Emacs 27.1]
quinn has joined #home-manager
floehopper has quit [Ping timeout: 240 seconds]
cole-h has joined #home-manager
dermetfan has quit [Ping timeout: 240 seconds]
floehopper has joined #home-manager
floehopper has quit [Ping timeout: 244 seconds]
floehopper has joined #home-manager
floehopper has quit [Client Quit]
dermetfan has joined #home-manager
evanjs has quit [Ping timeout: 265 seconds]
evanjs has joined #home-manager
cole-h has quit [Quit: Goodbye]
__monty__ has quit [Quit: leaving]
pasukon has joined #home-manager
ardumont has quit [Ping timeout: 260 seconds]
<pasukon> Hi, I'm having some issues after trying a few experiments earlier and I cannot get my home-manager configuration to build anymore no matter what I do, and I'm kinda in over my head at this point. I made a post that has the error log here: https://discourse.nixos.org/t/messed-up-my-home-manager-installation-by-trying-to-run-off-of-local-nixpkgs/8972/3
<pasukon> I have tried completely removing nix from the system and starting from scratch, and no dice...
<rycee> pasukon: In your experiments, did you change your home.nix any?
ardumont has joined #home-manager
<pasukon> Nothing related to that directly, but yes I did a small amount of refactoring.
<rycee> Yeah, that's the source of your problems..
<rycee> Specifically the change of the `imports = …` line.
<pasukon> Ahh thanks! What is wrong with it that it's causing an issue?
<rycee> The problem is that to evaluate `pkgs` you need to evaluate the configuration and to evaluate the configuration you must evaluate the `imports` statement.
<pasukon> Oh ok, thank you! Is there a better way to do it? Before, I was generating a machine.nix and importing that.
<rycee> This is because the `pkgs` attribute is affected by the options such as `nixpkgs.overlays`.
<rycee> The simplest solution is to make the conditional import "part of" the configuration itself.
<rycee> So, I would suggest changing the line to `imports = [ ./linux-home.nix ]`, that is, import the file unconditionally.
<rycee> But, change the return attribute set of `linux-home.nix` be `lib.mkIf pkgs.stdenv.isLinux { … }`.
<pasukon> the only thing inside that file is FG
<pasukon> whoops sorry accidentally tabbed to the wrong window
<pasukon> the only contents of that file is just enabling chromium and firefox, would it be better to just do something like this:
<pasukon> firefox = { enable = pkgs.stdenv.isLinux; };
<pasukon> or would that cause the same recursion issue?
<rycee> No, that should be fine.
<pasukon> cool, I'll just git rid of the import entirely then
<pasukon> thank you for your help
<rycee> Np.
<rycee> Note, though, that this trick is not flawless, though. Some modules are only available under Linux. Typically due to the module making use of systemd. If you refer to such a module, even inside a `mkIf`, you will get an error about undefined options under macos.
<pasukon> I have all of my services on nixos running from /etc/configuration.nix, but that's good to know.
<rycee> I don't use darwin but I do have a number of user configurations for different systems and for each system/user pair I make a `{hostname}.{username}.nix` file, which I symlink to `~/.config/nixpkgs/home.nix`. I think such a solution is common for macos users since they can unconditionally use functionality supported for that host platform.
joesventek has quit [Quit: Quit]
joesventek has joined #home-manager
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #home-manager
joesventek has quit [Quit: Quit]
joesventek has joined #home-manager
dermetfan has quit [Ping timeout: 240 seconds]