58 lines
1.7 KiB
Nix
58 lines
1.7 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" "nvme" "usbhid" "rtsx_pci_sdmmc" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
boot.initrd.luks.devices."SSD".device = "/dev/disk/by-uuid/1d8d7578-d3a1-4ea0-90ad-4257266a6caf";
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-uuid/19a52b40-3ff6-47ff-9402-18d8b289643e";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@" "compress=zstd" ];
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-uuid/19a52b40-3ff6-47ff-9402-18d8b289643e";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@boot" "compress=zstd" ];
|
||
};
|
||
|
||
fileSystems."/nix" ={
|
||
device = "/dev/disk/by-uuid/19a52b40-3ff6-47ff-9402-18d8b289643e";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@nix" "compress=zstd" ];
|
||
};
|
||
|
||
fileSystems."/home" = {
|
||
device = "/dev/disk/by-uuid/19a52b40-3ff6-47ff-9402-18d8b289643e";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@home" "compress=zstd" ];
|
||
};
|
||
|
||
/*fileSystems."/swap" = {
|
||
device = "/dev/disk/by-uuid/19a52b40-3ff6-47ff-9402-18d8b289643e";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@swapfile" ];
|
||
};*/
|
||
|
||
fileSystems."/boot/efi" = {
|
||
device = "/dev/disk/by-uuid/EC76-201F";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
swapDevices = [];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|