47 lines
944 B
Nix
47 lines
944 B
Nix
{
|
|
config,
|
|
lib,
|
|
modulesPath,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
boot = {
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
loader.limine = {
|
|
enable = true;
|
|
panicOnChecksumMismatch = true;
|
|
};
|
|
zswap = {
|
|
enable = true;
|
|
maxPoolPercent = 15;
|
|
};
|
|
};
|
|
console = {
|
|
font = "${pkgs.kbd}/share/consolefonts/cyr-sun16.psfu.gz";
|
|
keyMap = "ruwin_alt_sh-UTF-8";
|
|
};
|
|
environment.systemPackages = with pkgs; [
|
|
_7zz
|
|
cryptsetup
|
|
file
|
|
gptfdisk
|
|
jq
|
|
pciutils
|
|
python314
|
|
sbctl
|
|
speedtest-go
|
|
usbutils
|
|
];
|
|
i18n.defaultLocale = "ru_RU.UTF-8";
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
networking.networkmanager.enable = true;
|
|
nix.settings.experimental-features = [
|
|
"flakes"
|
|
"nix-command"
|
|
];
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
services.swapspace.enable = true;
|
|
system.stateVersion = "26.11";
|
|
time.timeZone = "Asia/Chita";
|
|
}
|