update test system config
This commit is contained in:
parent
67c2250833
commit
7e3457a724
8 changed files with 117 additions and 43 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue