Add all of iogamaster modules
This commit is contained in:
17
modules/nixos/system/time/default.nix
Normal file
17
modules/nixos/system/time/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.frajul; let
|
||||
cfg = config.system.time;
|
||||
in {
|
||||
options.system.time = with types; {
|
||||
enable =
|
||||
mkBoolOpt false "Whether or not to configure timezone information.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {time.timeZone = "America/Denver";};
|
||||
}
|
Reference in New Issue
Block a user