update test system config

This commit is contained in:
lilly 2025-02-07 15:02:33 +01:00
commit 7e3457a724
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
8 changed files with 117 additions and 43 deletions

View file

@ -23,12 +23,48 @@
"virtio_blk"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.loader.systemd-boot = {
boot.loader.grub = {
enable = true;
configurationLimit = 25;
editor = false;
device = lib.mkDefault "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0";
};
# partitioning and filesystems
disko.devices = lib.mkDefault {
disk = {
system = {
type = "disk";
device = lib.mkDefault "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0";
content = {
type = "gpt";
partitions = {
mbr = {
type = "ef02";
size = "1M";
};
swap = {
size = lib.mkDefault "8G";
content = {
type = "swap";
discardPolicy = "both";
};
};
root = {
type = "8300";
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
mountOptions = [ "defaults" "noatime" ];
};
};
};
};
};
};
};
# settings for nix and nixos
@ -107,6 +143,7 @@
helix
htop
];
#environment.variables = {
# EDITOR = "hx";
# VISUAL = "hx";