37 lines
926 B
Nix
37 lines
926 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 =
|
||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "usbhid" ];
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/disk/by-uuid/7081c92b-d474-49d9-a3d5-8285e7b92b62";
|
||
fsType = "btrfs";
|
||
options = [ "compress-force=zstd:7" ];
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{ device = "/dev/disk/by-uuid/C2EB-7223";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
boot.loader.grub = {
|
||
efiSupport = true;
|
||
efiInstallAsRemovable = true;
|
||
device = "nodev";
|
||
};
|
||
boot.initrd.kernelModules = [ "nvme" ];
|
||
networking = {
|
||
useDHCP = false;
|
||
interfaces.enp0s3.useDHCP = true;
|
||
hostName = "mc4";
|
||
};
|
||
|
||
}
|