nixos-config/machines/AMD-Workstation/hardware-configuration.nix

48 lines
1.3 KiB
Nix
Raw Normal View History

2020-02-12 02:34:44 +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-08-04 01:46:48 +04:00
{ config, lib, pkgs, inputs, ... }:
2020-02-12 02:34:44 +04:00
{
imports =
2020-08-04 01:46:48 +04:00
[ "${inputs.nixpkgs}/nixos/modules/installer/scan/not-detected.nix" ];
2020-02-12 02:34:44 +04:00
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/6ff40d9f-8ed8-46c7-8bdd-da6242eae75e";
fsType = "btrfs";
options = [ "subvol=@nixos" ];
};
fileSystems."/.snapshots" =
{ device = "/dev/disk/by-uuid/6ff40d9f-8ed8-46c7-8bdd-da6242eae75e";
fsType = "btrfs";
options = [ "subvol=@snapshots" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/6ff40d9f-8ed8-46c7-8bdd-da6242eae75e";
fsType = "btrfs";
options = [ "subvol=@home" ];
};
fileSystems."/nix/store" =
{ device = "/dev/disk/by-uuid/6ff40d9f-8ed8-46c7-8bdd-da6242eae75e";
fsType = "btrfs";
options = [ "subvol=@nix-store" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/9850-7AEE";
fsType = "vfat";
};
swapDevices = [ ];
nix.maxJobs = lib.mkDefault 12;
}