41 lines
1.0 KiB
Nix
41 lines
1.0 KiB
Nix
{ host, profile, ... }:
|
|
let
|
|
inherit (import ../../hosts/${host}/variables.nix) consoleKeyMap;
|
|
in
|
|
{
|
|
nix = {
|
|
settings = {
|
|
download-buffer-size = 200000000;
|
|
auto-optimise-store = true;
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
substituters = [ "https://niri.cachix.org" ];
|
|
trusted-public-keys = [ "niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z+BN0JISU3WYj9E84=" ];
|
|
};
|
|
};
|
|
time.timeZone = "Europe/Berlin";
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
i18n.extraLocaleSettings = {
|
|
LC_ADDRESS = "de_DE.UTF-8";
|
|
LC_IDENTIFICATION = "de_DE.UTF-8";
|
|
LC_MEASUREMENT = "de_DE.UTF-8";
|
|
LC_MONETARY = "de_DE.UTF-8";
|
|
LC_NAME = "de_DE.UTF-8";
|
|
LC_NUMERIC = "de_DE.UTF-8";
|
|
LC_PAPER = "de_DE.UTF-8";
|
|
LC_TELEPHONE = "de_DE.UTF-8";
|
|
LC_TIME = "de_DE.UTF-8";
|
|
};
|
|
environment.variables = {
|
|
NIXOS_OZONE_WL = "1";
|
|
SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS = "0";
|
|
SAUGOS_VERSION = "1.0";
|
|
SAUGOS = "true";
|
|
};
|
|
console.keyMap = "${consoleKeyMap}";
|
|
|
|
system.stateVersion = "23.11";
|
|
}
|