44 lines
888 B
Nix
44 lines
888 B
Nix
{lib, ...}: {
|
|
imports = [
|
|
./security.nix
|
|
./users.nix
|
|
../nix
|
|
../programs/fish.nix
|
|
];
|
|
|
|
i18n = {
|
|
defaultLocale = "en_US.UTF-8";
|
|
extraLocaleSettings = {
|
|
LC_ADDRESS = "nl_NL.UTF-8";
|
|
LC_IDENTIFICATION = "nl_NL.UTF-8";
|
|
LC_MEASUREMENT = "nl_NL.UTF-8";
|
|
LC_MONETARY = "nl_NL.UTF-8";
|
|
LC_NAME = "nl_NL.UTF-8";
|
|
LC_NUMERIC = "nl_NL.UTF-8";
|
|
LC_PAPER = "nl_NL.UTF-8";
|
|
LC_TELEPHONE = "nl_NL.UTF-8";
|
|
LC_TIME = "nl_NL.UTF-8";
|
|
};
|
|
};
|
|
|
|
console.keyMap = "us";
|
|
|
|
# don't touch this
|
|
system = {
|
|
switch.enable = true;
|
|
stateVersion = lib.mkDefault "25.05";
|
|
};
|
|
|
|
time = {
|
|
timeZone = lib.mkDefault "Europe/Amsterdam";
|
|
hardwareClockInLocalTime = lib.mkDefault true;
|
|
};
|
|
|
|
# compresses half the ram for use as swap
|
|
zramSwap = {
|
|
enable = true;
|
|
algorithm = "zstd";
|
|
memoryPercent = 25;
|
|
};
|
|
}
|