!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

658 Members
Gaming things, my hands are typing words.166 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
27 Jan 2024
@9hp71n:matrix.org@9hp71n:matrix.org * 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
@x10an14:matrix.orgx10an14Bit 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
@9hp71n:matrix.org@9hp71n:matrix.org

Nevermind, I think it should be okay ?
https://nix-community.github.io/home-manager/options.xhtml#opt-wayland.windowManager.sway.package

Sway package to use. Will override the options ‘wrapperFeatures’, ‘extraSessionCommands’, and ‘extraOptions’. Set to null to not add any Sway package to your path. This should be done if you want to use the NixOS Sway module to install Sway.
I know NixOS module does some things inside:
https://github.com/NixOS/nixpkgs/blob/a77ab169a83a4175169d78684ddd2e54486ac651/nixos/modules/programs/wayland/sway.nix#L34
but they are probably not related your issue.

17:57:22
@9hp71n:matrix.org@9hp71n:matrix.org *

Nevermind, I think it should be okay ?
https://nix-community.github.io/home-manager/options.xhtml#opt-wayland.windowManager.sway.package

Sway package to use. Will override the options ‘wrapperFeatures’, ‘extraSessionCommands’, and ‘extraOptions’. Set to null to not add any Sway package to your path. This should be done if you want to use the NixOS Sway module to install Sway.

I know NixOS module does some things inside:
https://github.com/NixOS/nixpkgs/blob/a77ab169a83a4175169d78684ddd2e54486ac651/nixos/modules/programs/wayland/sway.nix#L34
but they are probably not related your issue.

17:57:38
@9hp71n:matrix.org@9hp71n:matrix.org 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
@9hp71n:matrix.org@9hp71n:matrix.org * 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
@9hp71n:matrix.org@9hp71n:matrix.org * 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
@k900:0upti.meK900
In reply to@9hp71n:matrix.org
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.
They're doing HM standalone on NixOS
18:16:24
@k900:0upti.meK900So no useGlobalPkgs or follows will help, technically18:16:31
@9hp71n:matrix.org@9hp71n:matrix.orgNot 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
@k900:0upti.meK900Well yes but even if they do it won't help18:27:30
@k900:0upti.meK900 Because they may have different versions of nixpkgs at different times 18:27:42

Show newer messages


Back to Room ListRoom Version: 6