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
2024-03-24 18:34:14 +11:00

17 lines
362 B
Nix

{ 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";
};
};
}