added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 7d4f626b7d
907 changed files with 70990 additions and 0 deletions

33
nyx/hosts/leto/system.nix Normal file
View file

@ -0,0 +1,33 @@
{
modulesPath,
config,
lib,
...
}: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
config = {
services.smartd.enable = lib.mkForce false;
boot = {
growPartition = !config.boot.initrd.systemd.enable;
initrd = {
availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk"];
kernelModules = [];
};
loader.grub = {
enable = true;
useOSProber = lib.mkForce false;
efiSupport = lib.mkForce false;
enableCryptodisk = false;
theme = null;
backgroundColor = null;
splashImage = null;
device = lib.mkForce "/dev/vda";
};
};
};
}