2020-02-17 17:00:59 +04:00
|
|
|
|
# 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.
|
2020-04-27 05:39:00 +04:00
|
|
|
|
{ config, lib, pkgs, inputs, ... }:
|
2020-02-17 17:00:59 +04:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
2020-04-27 05:39:00 +04:00
|
|
|
|
[ "${inputs.nixpkgs}/nixos/modules/installer/scan/not-detected.nix" ];
|
2020-02-17 17:00:59 +04:00
|
|
|
|
|
2020-04-27 05:39:00 +04:00
|
|
|
|
boot.initrd.availableKernelModules =
|
|
|
|
|
[ "nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod" ];
|
2020-02-17 17:00:59 +04:00
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2021-06-08 20:52:32 +04:00
|
|
|
|
fileSystems."/persist" = {
|
2020-04-27 05:39:00 +04:00
|
|
|
|
device = "/dev/nvme0n1p2";
|
|
|
|
|
fsType = "ext4";
|
2021-06-08 20:52:32 +04:00
|
|
|
|
neededForBoot = true;
|
2020-04-27 05:39:00 +04:00
|
|
|
|
};
|
2020-02-17 17:00:59 +04:00
|
|
|
|
|
2021-06-08 20:52:32 +04:00
|
|
|
|
fileSystems."/persist/home" = {
|
2020-04-27 05:39:00 +04:00
|
|
|
|
device = "/dev/disk/by-label/Home";
|
|
|
|
|
fsType = "ext4";
|
2021-06-08 20:52:32 +04:00
|
|
|
|
neededForBoot = true;
|
2020-04-27 05:39:00 +04:00
|
|
|
|
};
|
2020-02-17 17:00:59 +04:00
|
|
|
|
|
2020-04-27 05:39:00 +04:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/nvme0n1p1";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2020-02-17 17:00:59 +04:00
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
2022-02-03 02:36:37 +04:00
|
|
|
|
nix.settings.max-jobs = lib.mkDefault 32;
|
2020-02-17 17:00:59 +04:00
|
|
|
|
}
|