2024-10-27 10:47:35 +01:00
|
|
|
{
|
2024-12-15 16:19:19 +01:00
|
|
|
meta.version = "unstable";
|
2024-12-05 17:03:42 +01:00
|
|
|
config =
|
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
sources,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
deployment = {
|
|
|
|
allowLocalDeployment = false;
|
|
|
|
targetHost = null;
|
|
|
|
};
|
2024-10-27 10:47:35 +01:00
|
|
|
|
2024-12-05 17:03:42 +01:00
|
|
|
imports = [
|
|
|
|
"${sources.nixos-images}/nix/kexec-installer/module.nix"
|
|
|
|
];
|
2024-10-27 10:47:35 +01:00
|
|
|
|
2024-12-05 17:03:42 +01:00
|
|
|
boot = {
|
|
|
|
kernelParams = [ "console=ttyS0" ];
|
|
|
|
kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
|
|
|
|
supportedFilesystems = {
|
|
|
|
bcachefs = true;
|
|
|
|
zfs = lib.mkForce false;
|
|
|
|
};
|
|
|
|
};
|
2024-10-27 10:47:35 +01:00
|
|
|
|
2024-12-05 17:03:42 +01:00
|
|
|
networking = {
|
|
|
|
networkmanager.enable = false;
|
|
|
|
wireless.enable = false;
|
|
|
|
};
|
|
|
|
console.keyMap = "fr";
|
2024-10-27 10:47:35 +01:00
|
|
|
|
2024-12-05 17:03:42 +01:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
perl
|
|
|
|
git
|
|
|
|
];
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
services = {
|
|
|
|
openssh.enable = true;
|
|
|
|
qemuGuest.enable = true;
|
|
|
|
getty.autologinUser = lib.mkForce "root";
|
|
|
|
};
|
2024-10-27 10:47:35 +01:00
|
|
|
|
2024-12-05 17:03:42 +01:00
|
|
|
system.stateVersion = lib.mkForce "24.11";
|
|
|
|
};
|
2024-10-27 10:47:35 +01:00
|
|
|
}
|