MG
Size: a a a
MG
YM
MG
YM
MG
YM
ц
ц
$ nixos-generate-config --show-hardware-config
# 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 = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/1280d64a-9477-463a-a91f-ee763b36799c";
fsType = "ext4";
};
boot.initrd.luks.devices."root-crypt".device = "/dev/disk/by-uuid/2b816b71-775b-4476-a767-9cb36a495815";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/CE49-B12E";
fsType = "vfat";
};
swapDevices = [ ];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}
VL
YM
YM
ц
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 259:0 0 238,5G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot
└─nvme0n1p2 259:2 0 238G 0 part
└─root-crypt 254:0 0 238G 0 crypt /