This repository has been archived on 2024-07-08. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config-tn/nixos/profiles/global.nix

18 lines
362 B
Nix
Raw Normal View History

2024-03-24 02:34:14 -05:00
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.mySystem.profiles.global;
in
{
options.mySystem.profiles.global.enable = mkEnableOption "Global profile" // { default = true; };
config = mkIf cfg.enable
{
mySystem.time.timeZone = "Australia/Melbourne";
i18n = {
defaultLocale = lib.mkDefault "en_AU.UTF-8";
};
};
}