|
|
@ -6,15 +6,24 @@
|
|
|
|
{
|
|
|
|
{
|
|
|
|
imports = [ ];
|
|
|
|
imports = [ ];
|
|
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "sd_mod" "sr_mod" ];
|
|
|
|
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ];
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
boot.kernelModules = [ ];
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hardware.enableAllFirmware = true;
|
|
|
|
|
|
|
|
hardware.enableRedistributableFirmware = true;.
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
|
|
|
filesystems = {
|
|
|
|
{ device = "/dev/disk/by-label/nixos";
|
|
|
|
"/" = {
|
|
|
|
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
|
|
|
fsType = "ext4";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
"/boot/efi" = {
|
|
|
|
|
|
|
|
device = "/dev/disk/by-label/boot";
|
|
|
|
|
|
|
|
fsType = "fat32";
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
|
|
|
@ -25,6 +34,6 @@
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
# networking.interfaces.enp0s3.useDHCP = lib.mkDefault true;
|
|
|
|
# networking.interfaces.enp0s3.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
|
|
#hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
#virtualisation.virtualbox.guest.enable = true;
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
}
|
|
|
|
}
|
|
|
|