2022-07-08 12:20:00 +00:00
|
|
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
|
|
|
# and may be overwritten by future invocations. Please make changes
|
|
|
|
|
# to /etc/nixos/configuration.nix instead.
|
|
|
|
|
{
|
2023-01-28 20:49:10 +00:00
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
2024-08-19 10:38:46 +00:00
|
|
|
|
}:
|
|
|
|
|
{
|
|
|
|
|
imports = [ ];
|
2023-01-28 20:49:10 +00:00
|
|
|
|
|
2024-08-19 10:38:46 +00:00
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
|
|
|
"ahci"
|
|
|
|
|
"virtio_pci"
|
|
|
|
|
"xhci_pci"
|
|
|
|
|
"sr_mod"
|
|
|
|
|
"virtio_blk"
|
|
|
|
|
];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
2023-01-28 20:49:10 +00:00
|
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
|
|
|
|
autoResize = true;
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-label/boot";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/data" = {
|
|
|
|
|
device = "/dev/disk/by-label/ephemeral0";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
options = [
|
|
|
|
|
"defaults"
|
|
|
|
|
"nofail"
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
2024-08-19 10:38:46 +00:00
|
|
|
|
swapDevices = [ ];
|
2022-07-08 12:20:00 +00:00
|
|
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault false;
|
|
|
|
|
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
}
|