1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 12:49:48 +01:00
home-manager/modules/lib
Robert Helgesson 5f433eb164
Move platform check into modules
Before, loading a module would be guarded by an optional platform
condition. This made it possible to avoid loading and evaluating a
module if it did not support the host platform.

Unfortunately, this made it impossible to share a single configuration
between GNU/Linux and Darwin hosts, which some wish to do.

This removes the conditional load and instead inserts host platform
assertions in the modules that are platform specific.

Fixes #1906
2021-07-18 20:43:22 +02:00
..
assertions.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
dag.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
default.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
file-type.nix files: remove assertion on recursive onChange 2021-05-30 11:54:33 +02:00
gvariant.nix lib.gvariant: escape backslashes in strings 2020-08-12 22:53:28 +02:00
maintainers.nix i18n.inputMethod: add module 2021-06-25 00:58:50 +02:00
shell.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
stdlib-extended.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
strings.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
types-dag.nix ssh: deprecate the list form of match block 2020-04-16 23:27:40 +02:00
types.nix lib/types/fontType: Add size attribute (#1848) 2021-04-07 16:18:09 +02:00
zsh.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00