NixOS Gaming | 699 Members | |
| Gaming things, my hands are typing words. | 178 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 Jan 2024 | ||
In reply to @k900:0upti.me I think so. This is the
| 17:44:58 | |
| Do you maybe have different versions of the flake activated though | 17:45:28 | |
| That could also do it | 17:45:32 | |
| This is my sway config on the nixos side of same flake inputs-sharing nix-repo:
| 17:45:53 | |
In reply to @k900:0upti.meNo, I always do sudo nixos-rebuild switch; home-manager switch. And I do the nix flake check --log-format internal-json -vvv |& nom --json before I activate either. | 17:46:57 | |
| Well I guess the other option is just "Sway broke Proton" | 17:47:21 | |
| Which feels like a thing that should have been caught | 17:47:29 | |
| Well, I made sure to do this now that we updated, to avoid this pitfall at least. Not gonna say I'm perfect and never make mistakes. | 17:47:31 | |
| But at this point | 17:47:46 | |
| Wew | 17:47:46 | |
| Strange stuff | 17:47:53 | |
| Aight, will see if I can produce some sway debug logs next time I feel like diving into this. Will just game with my patient friend who's been waiting for more than 2h now. | 17:51:54 | |
Isn't this "${config.wayland.windowManager.sway.package} some HM thing that should not be used on NixOS ? | 17:52:29 | |
* Isn't this "${config.wayland.windowManager.sway.package} some HM thing that should not be used on NixOS ?This one: programs.sway.enable = true; uses other package with some NixOS specific overrides inside. | 17:53:17 | |
In reply to @9hp71n:matrix.orgPlease do document/provide source =) Could be! | 17:53:33 | |
* Isn't this "${config.wayland.windowManager.sway.package} some HM thing that should not be used on NixOS ?This one: programs.sway.enable = true; uses other package with some NixOS specific overrides inside.If it's a NixOS one. | 17:53:52 | |
| Bit of a shame if it's the case, 'cause I wanted my HM config to be NixOS independent. But some more coding should provide a way to fix that I suppose. | 17:54:48 | |
| Nevermind, I think it should be okay ?
| 17:57:22 | |
| * Nevermind, I think it should be okay ?
I know NixOS module does some things inside: | 17:57:38 | |
Actually you were running sway from HM, so if you didn't have home-manager.inputs.nixpkgs.follows = "nixpkgs"; (and maybe useGlobalPkgs=true;) it could have different version. | 18:08:27 | |
* Actually you were running sway from HM, so if you didn't have home-manager.inputs.nixpkgs.follows = "nixpkgs"; (and maybe useGlobalPkgs = true; ?) it could have different version. | 18:09:24 | |
* Actually you were running sway from HM, so if you didn't have:home-manager.inputs.nixpkgs.follows = "nixpkgs";(and maybe useGlobalPkgs = true; ?)it could have different version. | 18:10:18 | |
In reply to@9hp71n:matrix.orgThey're doing HM standalone on NixOS | 18:16:24 | |
| So no useGlobalPkgs or follows will help, technically | 18:16:31 | |
| Not sure about useGlobalPkgs. But even for standalone if they don't do follows wouldn't their sway and all its dependencies be from nixpkgs that is currently locked in HM repo ? | 18:27:16 | |
| Well yes but even if they do it won't help | 18:27:30 | |
| Because they may have different versions of nixpkgs at different times | 18:27:42 | |
| As in, the active nixos may be built from another flake revision | 18:27:57 | |
In reply to @9hp71n:matrix.orgI am doing nixpkgs follow on HM flake input | 18:49:20 | |
In reply to @k900:0upti.meThis is true. I should get around to unifying. I'm just really enamored with the idea of having a HM config across all my machines (which might not all be NixOS) 100% independent from NixOS itself. | 18:50:12 | |