feat(bbsteamie): add auto-gen'd config
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-06-29 21:38:22 -04:00
parent 7e7dde4c6f
commit 8319e4b87b

View file

@ -1,4 +1,9 @@
{modulesPath, ...}: { {
config,
lib,
modulesPath,
...
}: {
nixpkgs.hostPlatform = "x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
imports = [(modulesPath + "/installer/scan/not-detected.nix")]; imports = [(modulesPath + "/installer/scan/not-detected.nix")];
@ -12,29 +17,41 @@
hardware.has.amd.gpu = true; hardware.has.amd.gpu = true;
}; };
boot.loader = { boot = {
efi.canTouchEfiVariables = true; kernelModules = ["kvm-amd"];
initrd.availableKernelModules = ["nvme" "xhci_pci" "usbhid" "sdhci_pci"];
systemd-boot = { loader = {
enable = true; efi.canTouchEfiVariables = true;
configurationLimit = 30;
systemd-boot = {
enable = true;
configurationLimit = 30;
};
}; };
}; };
virtualisation.waydroid.enable = true; virtualisation.waydroid.enable = true;
# TODO: add auto-generated stuff
# Placeholder
fileSystems = { fileSystems = {
"/" = { "/" = {
device = "/dev/disk/by-uuid/6ae4d722-dacf-485a-8d29-b276f540dc91"; device = "/dev/disk/by-label/NIXROOT";
fsType = "btrfs"; fsType = "ext4";
}; };
"/boot" = { "/boot" = {
device = "/dev/disk/by-label/NIXBOOT"; device = "/dev/disk/by-label/NIXBOOT";
fsType = "vfat"; fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
}; };
}; };
swapDevices = [
{
device = "/mnt/.swapfile";
size = 17179869184; # 16G
}
];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }