53 lines
1.2 KiB
Nix
53 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, modulesPath, ... }:
|
||
|
||
{
|
||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||
|
||
boot.initrd.availableKernelModules = [
|
||
"xhci_pci"
|
||
"nvme"
|
||
"ahci"
|
||
"usbhid"
|
||
"sd_mod"
|
||
"sr_mod"
|
||
];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-amd" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" = {
|
||
device = "tmprootfs";
|
||
fsType = "tmpfs";
|
||
options = [ "defaults" "size=2G" "mode=755" ];
|
||
};
|
||
|
||
fileSystems."/persist" = {
|
||
device = "/dev/disk/by-partlabel/persist";
|
||
fsType = "xfs";
|
||
neededForBoot = true;
|
||
};
|
||
|
||
fileSystems."/srv/data" = {
|
||
device = "/dev/mapper/tank-freezer:/dev/sdb";
|
||
fsType = "bcachefs";
|
||
neededForBoot = true;
|
||
};
|
||
|
||
fileSystems."/nix" = {
|
||
device = "/dev/disk/by-partlabel/nixstore";
|
||
fsType = "xfs";
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-partlabel/ESP";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
fileSystems."/home" = {
|
||
device = "/dev/disk/by-partlabel/home";
|
||
fsType = "xfs";
|
||
};
|
||
}
|