forked from pub-solar/os
Benjamin Bädorf
1f2d56e0c9
This aligns with the coming changes in hostnames in the terraform infrastructure.
43 lines
1,014 B
Nix
43 lines
1,014 B
Nix
# 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."/" =
|
||
{
|
||
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"
|
||
];
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
networking.useDHCP = lib.mkDefault false;
|
||
|
||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|