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