2021-11-22 00:08:49 +01: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, ... }:
|
|
|
|
|
|
|
2021-11-06 13:01:22 +01:00
|
|
|
|
{
|
2021-11-22 00:08:49 +01:00
|
|
|
|
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 = [ ];
|
2021-11-06 13:01:22 +01:00
|
|
|
|
boot.loader.grub = {
|
|
|
|
|
|
efiSupport = true;
|
|
|
|
|
|
efiInstallAsRemovable = true;
|
|
|
|
|
|
device = "nodev";
|
|
|
|
|
|
};
|
|
|
|
|
|
boot.initrd.kernelModules = [ "nvme" ];
|
|
|
|
|
|
networking = {
|
|
|
|
|
|
useDHCP = false;
|
|
|
|
|
|
interfaces.enp0s3.useDHCP = true;
|
|
|
|
|
|
hostName = "mc4";
|
|
|
|
|
|
};
|
2021-11-22 00:08:49 +01:00
|
|
|
|
|
2021-11-06 13:01:22 +01:00
|
|
|
|
}
|