2023-05-25 15:09:53 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
2023-05-18 21:54:15 +02:00
|
|
|
{
|
|
|
|
imports = [
|
2023-05-19 01:12:30 +02:00
|
|
|
./user
|
2023-05-18 21:54:15 +02:00
|
|
|
];
|
2023-05-25 15:09:53 +02:00
|
|
|
|
|
|
|
# locale
|
2023-05-26 16:41:07 +02:00
|
|
|
i18n.defaultLocale = "ja_JP.UTF-8";
|
2023-05-25 15:09:53 +02:00
|
|
|
i18n.supportedLocales =
|
2023-05-26 16:41:07 +02:00
|
|
|
[ "ja_JP.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" "fr_FR.UTF-8/UTF-8" ];
|
2023-05-25 15:09:53 +02:00
|
|
|
|
|
|
|
# nix
|
|
|
|
nix = {
|
|
|
|
package = pkgs.nixFlakes;
|
|
|
|
settings = {
|
|
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# home-manager
|
|
|
|
home-manager = {
|
|
|
|
useGlobalPkgs = true;
|
|
|
|
useUserPackages = true;
|
|
|
|
|
|
|
|
sharedModules = [{
|
|
|
|
home.stateVersion = "22.11";
|
|
|
|
}];
|
|
|
|
};
|
|
|
|
|
|
|
|
# systemd
|
|
|
|
systemd.extraConfig = ''
|
|
|
|
DefaultTimeoutStopSec=10s
|
|
|
|
'';
|
|
|
|
|
|
|
|
# timezone
|
|
|
|
time.timeZone = "America/New_York";
|
2023-05-18 21:54:15 +02:00
|
|
|
}
|