58 lines
1.5 KiB
Nix
58 lines
1.5 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, ... }:
|
||
|
||
{
|
||
nix.maxJobs = 2;
|
||
nix.buildCores = 4;
|
||
|
||
hardware.enableAllFirmware = true;
|
||
hardware.trackpoint.emulateWheel = true;
|
||
|
||
boot.kernelPackages = pkgs.myLinuxPackages;
|
||
|
||
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "sd_mod" ];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" = { device = "/dev/disk/by-uuid/be9be32e-1fb0-45c3-9714-390ee2e6c184";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"defaults"
|
||
"compress=lzo"
|
||
"discard"
|
||
"subvol=nixos"
|
||
];
|
||
};
|
||
fileSystems."/home" = { device = "/dev/disk/by-uuid/be9be32e-1fb0-45c3-9714-390ee2e6c184";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"defaults"
|
||
"compress=lzo"
|
||
"discard"
|
||
"subvol=home"
|
||
];
|
||
};
|
||
|
||
fileSystems."/var/lib/rkt" = {
|
||
fsType = "tmpfs";
|
||
};
|
||
|
||
fileSystems."/var/lib/cni" = {
|
||
fsType = "tmpfs";
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
# Define on which hard drive you want to install Grub.
|
||
boot.loader.grub.device = "/dev/sda";
|
||
|
||
boot.initrd.luks.devices = [ {
|
||
name = "luksSSD1";
|
||
device = "/dev/disk/by-uuid/2274dc28-7a48-4355-bc27-2d73f7a2744e";
|
||
preLVM = false;
|
||
allowDiscards = true;
|
||
}
|
||
];
|
||
}
|