home-manager/modules
Jacob Birkett e716961d78
modules: java: fix setting JAVA_HOME (#3638)
Some JVMs pass through `home` as a derivation rather than as a string, as `openjdk` does. Since the module option for session variables expects a string, this is a type error. I suspect that this incorrect, and have changed the assignment here to coerce the `cfg.package.home` attribute to a string to be safe.

After discussing with @NobbZ, we have decided it is best to mitigate this problem in HM rather than to make potentially breaking changes to Nixpkgs.

Please do mention if you think we ought to propose a change to Nixpkgs instead.
2023-02-05 11:02:57 +01:00
..
accounts email: add signature delimiter 2022-12-04 09:34:22 +01:00
config treewide: fix typos (#3618) 2023-01-24 11:30:04 +01:00
i18n/input-method im/fcitx5: add GLFW_IM_MODULE session variable 2022-10-16 21:42:32 +02:00
launchd treewide: fix typos 2022-12-05 12:58:02 +01:00
lib files: allow disabling creation of a file 2023-01-26 22:31:16 +01:00
lib-bash lib/bash: remove unused Bash library files 2022-10-13 11:56:46 +02:00
misc services.autorandr: add module 2023-02-02 21:54:53 +01:00
po Add translation using Weblate (Lithuanian) 2023-01-10 00:18:25 +01:00
programs modules: java: fix setting JAVA_HOME (#3638) 2023-02-05 11:02:57 +01:00
services services.autorandr: add module 2023-02-02 21:54:53 +01:00
targets treewide: fix typos 2022-12-05 12:58:02 +01:00
default.nix Add lib argument to homeManagerConfiguration (#2753) 2022-04-17 18:14:41 -04:00
files.nix files: allow disabling creation of a file 2023-01-26 22:31:16 +01:00
home-environment.nix home-environment: use lazyAttrsOf for home.sessionVariables (#3541) 2022-12-29 22:33:15 +01:00
manual.nix format: update and remove exceptions (#3029) 2022-06-16 14:13:06 +02:00
modules.nix services.autorandr: add module 2023-02-02 21:54:53 +01:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd.nix treewide: replace replaceChars with replaceStrings 2022-12-16 16:34:59 +01:00
xresources.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xsession.nix xsession: add xplugd service to accompany setxkbmap (#2450) 2021-12-23 15:38:44 -05:00