nixos: add key to shared module to allow disabling it

This commit is contained in:
Michael Hoang 2024-10-30 01:46:11 +11:00
parent e83414058e
commit 08bc8c864d

View file

@ -19,6 +19,9 @@ in {
extraSpecialArgs.nixosConfig = config;
sharedModules = [{
key = "home-manager#nixos-shared-module";
config = {
# The per-user directory inside /etc/profiles is not known by
# fontconfig by default.
fonts.fontconfig.enable = lib.mkDefault
@ -26,6 +29,7 @@ in {
# Inherit glibcLocales setting from NixOS.
i18n.glibcLocales = lib.mkDefault config.i18n.glibcLocales;
};
}];
};
}