nixos-config/machines/usb-persist/hardware-configuration.nix

32 lines
883 B
Nix
Raw Normal View History

2021-11-23 12:33:00 +04: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 =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/persist" =
{ device = "/dev/disk/by-uuid/315c1e94-7395-4a7e-ada8-40e3409f1a2b";
fsType = "ext4";
neededForBoot = true;
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/08B0-2766";
fsType = "vfat";
};
swapDevices = [ ];
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault false;
}