45 lines
1.2 KiB
Nix
45 lines
1.2 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, ... }:
|
|||
|
|
|||
|
{
|
|||
|
imports =
|
|||
|
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
|||
|
];
|
|||
|
|
|||
|
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod" ];
|
|||
|
boot.initrd.kernelModules = [ ];
|
|||
|
boot.kernelModules = [ "kvm-intel" ];
|
|||
|
boot.extraModulePackages = [ ];
|
|||
|
|
|||
|
fileSystems."/" =
|
|||
|
{ device = "/dev/disk/by-uuid/5f03569f-83a4-45a6-b316-bb792c758ac2";
|
|||
|
fsType = "btrfs";
|
|||
|
options = [ "subvol=nixos" ];
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/home" =
|
|||
|
{ device = "/dev/disk/by-uuid/5f03569f-83a4-45a6-b316-bb792c758ac2";
|
|||
|
fsType = "btrfs";
|
|||
|
options = [ "subvol=home" ];
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/mnt/storage" =
|
|||
|
{ device = "/dev/disk/by-uuid/d3ba175c-aa96-4613-a9e0-d34ad59616e6";
|
|||
|
fsType = "ext4";
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/boot" =
|
|||
|
{ device = "/dev/disk/by-uuid/A649-113E";
|
|||
|
fsType = "vfat";
|
|||
|
};
|
|||
|
|
|||
|
swapDevices =
|
|||
|
[ { device = "/dev/disk/by-uuid/d3b1291d-2f47-460a-b39b-3aafcd7b1e89"; }
|
|||
|
];
|
|||
|
|
|||
|
nix.maxJobs = lib.mkDefault 2;
|
|||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|||
|
}
|