2022-06-08 22:55:35 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
boot = {
|
|
|
|
kernelParams = [
|
|
|
|
"verbose" "shell_on_fail"
|
|
|
|
"elevator=deadline"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
system.build.bootFiles = pkgs.runCommandNoCC "boot-files" {} ''
|
|
|
|
mkdir -p $out/boot
|
|
|
|
${config.boot.loader.generic-extlinux-compatible.populateCmd} -c ${config.system.build.toplevel} -d $out/boot
|
|
|
|
'';
|
|
|
|
|
2022-06-22 00:47:58 +02:00
|
|
|
networking.hostName = "riscbert";
|
|
|
|
system.stateVersion = "22.05";
|
2022-06-08 22:55:35 +02:00
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-label/NIXOS_SD";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
}
|