2022-10-05 10:02:28 +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.
|
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports = [ ];
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "ahci" "virtio_pci" "xhci_pci" "sr_mod" "virtio_blk" ];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2022-11-26 01:40:51 +00:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
2022-10-05 10:02:28 +00:00
|
|
|
|
autoResize = true;
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2022-11-26 01:40:51 +00:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-label/boot";
|
2022-10-05 10:02:28 +00:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/data" =
|
2022-11-26 01:40:51 +00:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-label/ephemeral0";
|
2022-10-05 10:02:28 +00:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
options = [
|
|
|
|
|
"defaults"
|
|
|
|
|
"nofail"
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault false;
|
2023-01-28 14:15:17 +00:00
|
|
|
|
networking.networkmanager.enable = lib.mkForce false;
|
2022-10-05 10:02:28 +00:00
|
|
|
|
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
}
|