zaneyos/modules/core/system.nix

36 lines
1017 B
Nix
Raw Normal View History

2025-02-17 06:31:31 +01:00
{host, ...}: let
inherit (import ../../hosts/${host}/variables.nix) consoleKeyMap;
2025-02-17 06:31:31 +01:00
in {
nix = {
settings = {
download-buffer-size = 250000000;
auto-optimise-store = true;
experimental-features = [
"nix-command"
"flakes"
];
2025-02-17 06:31:31 +01:00
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
};
time.timeZone = "America/Chicago";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
environment.variables = {
ZANEYOS_VERSION = "2.3";
ZANEYOS = "true";
};
console.keyMap = "${consoleKeyMap}";
system.stateVersion = "23.11"; # Do not change!
}