67 lines
2.3 KiB
Nix
67 lines
2.3 KiB
Nix
|
# 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" "usbhid" "sd_mod" ];
|
|||
|
boot.initrd.kernelModules = [ ];
|
|||
|
boot.kernelModules = [ "kvm-intel" ];
|
|||
|
boot.extraModulePackages = [ ];
|
|||
|
|
|||
|
fileSystems."/" =
|
|||
|
{ device = "/dev/disk/by-uuid/402a73d2-efb3-4833-9e2c-e484129f2872";
|
|||
|
fsType = "btrfs";
|
|||
|
options = [ "subvol=@" ];
|
|||
|
};
|
|||
|
|
|||
|
boot.initrd.luks.devices."luks-7c7d4f5b-969e-4d47-8e8e-c457936314a7".device = "/dev/disk/by-uuid/7c7d4f5b-969e-4d47-8e8e-c457936314a7";
|
|||
|
|
|||
|
fileSystems."/boot/efi" =
|
|||
|
{ device = "/dev/disk/by-uuid/7414-0B58";
|
|||
|
fsType = "vfat";
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/home" =
|
|||
|
{ device = "/dev/disk/by-uuid/402a73d2-efb3-4833-9e2c-e484129f2872";
|
|||
|
fsType = "btrfs";
|
|||
|
options = [ "subvol=@home" ];
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/root" =
|
|||
|
{ device = "/dev/disk/by-uuid/402a73d2-efb3-4833-9e2c-e484129f2872";
|
|||
|
fsType = "btrfs";
|
|||
|
options = [ "subvol=@root" ];
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/nix" =
|
|||
|
{ device = "/dev/disk/by-uuid/402a73d2-efb3-4833-9e2c-e484129f2872";
|
|||
|
fsType = "btrfs";
|
|||
|
options = [ "subvol=@nix" ];
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/btrfs/nvme" =
|
|||
|
{ device = "/dev/disk/by-uuid/402a73d2-efb3-4833-9e2c-e484129f2872";
|
|||
|
fsType = "btrfs";
|
|||
|
};
|
|||
|
|
|||
|
swapDevices =
|
|||
|
[ { device = "/dev/disk/by-uuid/7c83a814-173c-46ef-a3a6-bfefc02095c9"; }
|
|||
|
];
|
|||
|
|
|||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
|||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|||
|
networking.useDHCP = lib.mkDefault true;
|
|||
|
# networking.interfaces.enp4s0u1u3u4.useDHCP = lib.mkDefault true;
|
|||
|
# networking.interfaces.wlp170s0.useDHCP = lib.mkDefault true;
|
|||
|
|
|||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|||
|
}
|