config/modules/shared/user-system-settings.nix

23 lines
359 B
Nix
Raw Normal View History

2025-05-07 10:22:05 -07:00
# applies user settings for the system
{
2025-05-12 15:19:01 -07:00
config,
2025-05-07 10:22:05 -07:00
pkgs,
user,
lib,
...
2025-05-12 15:19:01 -07:00
}:
{
2025-05-07 10:22:05 -07:00
# Set your time zone.
time.timeZone = user.timeZone;
home-manager.users.${user.username}.home.sessionVariables =
{
EDITOR = user.editor;
TERMINAL = user.term;
}
// lib.optionalAttrs (user ? "browser") {
BROWSER = user.browser;
};
}