hosts/sugarcane: init

This commit is contained in:
LavaDesu 2022-02-02 16:05:17 +07:00
parent 9057a029ab
commit 8733fc7054
Signed by: cilly
GPG key ID: 6500251E087653C9
12 changed files with 124 additions and 21 deletions

View file

@ -0,0 +1,17 @@
{ config, inputs, pkgs, ... }: {
boot = {
loader = {
systemd-boot.enable = false;
efi.canTouchEfiVariables = true;
grub = {
enable = true;
device = "/dev/sda";
};
};
initrd.kernelModules = [ "nvme" ];
kernel.sysctl = {
"kernel.core_pattern" = "|/bin/false";
"kernel.sysrq" = 1;
};
};
}