Add system.timeZone option
This commit is contained in:
parent
fb830c03ee
commit
db25786322
|
|
@ -1,6 +1,12 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.system;
|
||||
in
|
||||
{
|
||||
nix = {
|
||||
settings = {
|
||||
|
|
@ -10,5 +16,8 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
time.timeZone = cfg.timeZone;
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
./hyprland.nix
|
||||
./plasma.nix
|
||||
./shell.nix
|
||||
./system.nix
|
||||
./zsh.nix
|
||||
];
|
||||
}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.system;
|
||||
in
|
||||
{
|
||||
options.system = {
|
||||
timeZone = mkOption {
|
||||
type = types.str;
|
||||
default = "US/Eastern";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue