# 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" "ahci" "usb_storage" "usbhid" "uas" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; boot.kernelParams = [ # 가상 디스플레이(해상도) 1개 생성 "video=virtual:1920x1080@60" ]; fileSystems."/" = { device = "/dev/disk/by-uuid/223889e0-caa4-4dc5-a7b3-e5260230896f"; fsType = "ext4"; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/7233-6B3C"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; swapDevices = [ ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.nvidia = { modesetting.enable = true; powerManagement.enable = true; powerManagement.finegrained = false; # 이슈 있으면 비활하기 open = false; nvidiaSettings = true; package = config.boot.kernelPackages.nvidiaPackages.stable; }; services.xserver.videoDrivers = [ "nvidia" ]; hardware.graphics = { enable = true; enable32Bit = true; extraPackages = with pkgs; [ libva-vdpau-driver libvdpau-va-gl vulkan-loader nvidia-vaapi-driver vulkan-validation-layers vulkan-extension-layer ]; extraPackages32 = with pkgs.pkgsi686Linux; [ libva-vdpau-driver libvdpau-va-gl ]; }; }