1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00
home-manager/modules
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
..
accounts himalaya: add module 2021-06-26 18:29:42 -04:00
config Move platform check into modules 2021-07-18 20:43:22 +02:00
i18n/input-method Move platform check into modules 2021-07-18 20:43:22 +02:00
lib Move platform check into modules 2021-07-18 20:43:22 +02:00
lib-bash home-manager: respect NO_COLOR environment variable 2021-03-03 23:28:06 +01:00
misc Move platform check into modules 2021-07-18 20:43:22 +02:00
programs Move platform check into modules 2021-07-18 20:43:22 +02:00
services Move platform check into modules 2021-07-18 20:43:22 +02:00
targets Move platform check into modules 2021-07-18 20:43:22 +02:00
default.nix modules: don't reference deprecated stdenv.lib (#1770) 2021-02-01 09:52:05 -05:00
files.nix files: minor cleanup 2021-06-28 23:17:00 +02:00
home-environment.nix home-environment: add Nixpkgs release version check 2021-07-04 09:40:40 +02:00
manual.nix Switch to extended Nixpkg's lib 2020-01-21 20:47:04 +01:00
modules.nix Move platform check into modules 2021-07-18 20:43:22 +02: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 systemd: add automounts option 2021-06-14 23:10:21 +02:00
xcursor.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
xresources.nix xresources: Add path configuration option (#2141) 2021-06-28 00:50:40 -06:00
xsession.nix Move platform check into modules 2021-07-18 20:43:22 +02:00