# 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" "thunderbolt" "nvme" "usb_storage" "uas" "sd_mod" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; # Use the systemd-boot EFI boot loader, not grub boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.tmpOnTmpfs = true; # make /tmp a tmpfs (performance!) boot.initrd.luks.devices = { pool = { device = "/dev/nvme0n1p2"; preLVM = true; }; }; fileSystems."/" = { device = "/dev/disk/by-uuid/48228fad-8123-4e87-9c70-2e4c204d7a49"; fsType = "ext4"; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/13A0-D756"; fsType = "vfat"; }; fileSystems."/home" = { device = "/dev/disk/by-uuid/d73dd71d-9f0f-4c49-8267-9ad7e3f01ff1"; fsType = "ext4"; }; fileSystems."/removable" = { device = "/dev/disk/by-uuid/081de08c-b080-4a05-9915-235caae193e7"; fsType = "ext4"; }; fileSystems."/share" = { device = "none"; fsType = "tmpfs"; }; fileSystems."/browsers" = { device = "none"; fsType = "tmpfs"; }; swapDevices = [ ]; networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; # high-resolution display hardware.video.hidpi.enable = lib.mkDefault true; }