nixos-config/modules/core/system.nix

63 lines
1.1 KiB
Nix
Raw Normal View History

2023-11-05 17:56:55 +01:00
{
self,
pkgs,
lib,
inputs,
...
}:
{
2023-11-05 11:40:44 +01:00
nix = {
settings = {
auto-optimise-store = true;
experimental-features = [
"nix-command"
"flakes"
];
# substituters = [ "" ];
# trusted-public-keys = [ "" ];
2023-11-05 11:40:44 +01:00
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
2024-10-21 15:40:49 +02:00
# nixpkgs = {
# overlays = [
# self.overlays.default
# inputs.nur.overlay
# ];
# };
nixpkgs.config = {
allowUnfree = true;
permittedInsecurePackages = [
"jitsi-meet-1.0.8043"
"olm-3.2.16"
];
2023-11-05 11:40:44 +01:00
overlays = [
self.overlays.default
inputs.nur.overlay
];
};
# powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
2023-11-05 11:40:44 +01:00
i18n.defaultLocale = "en_US.UTF-8";
i18n.supportedLocales = [
"en_US.UTF-8/UTF-8"
"ja_JP.UTF-8/UTF-8"
];
2025-01-14 07:56:54 +01:00
# Font packages
environment.systemPackages = with pkgs; [
noto-fonts-cjk-sans
noto-fonts-cjk-serif
ipaexfont
];
time.timeZone = "Europe/Amsterdam";
system.stateVersion = "24.05";
2023-11-05 11:40:44 +01:00
}