fix locale and font troubles
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, lib, ... }:
|
||||
{ config, lib, osConfig, ... }:
|
||||
let
|
||||
cfg = config.gnome;
|
||||
in
|
||||
@@ -68,6 +68,10 @@ in
|
||||
showWeekNumbers = lib.mkEnableOption { };
|
||||
};
|
||||
automaticTimeZone = lib.mkEnableOption { };
|
||||
region = lib.mkOption {
|
||||
type = str;
|
||||
default = osConfig.i18n.defaultLocale;
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
@@ -108,6 +112,9 @@ in
|
||||
"org/gnome/desktop/datetime" = {
|
||||
automatic-timezone = cfg.automaticTimeZone;
|
||||
};
|
||||
"system/locale" = {
|
||||
region = cfg.region;
|
||||
};
|
||||
} // (
|
||||
builtins.listToAttrs (
|
||||
lib.lists.imap0
|
||||
|
||||
Reference in New Issue
Block a user