64 lines
2.1 KiB
Nix
64 lines
2.1 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" "uas" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-amd" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" = lib.mkForce
|
||
{ device = "none";
|
||
fsType = "tmpfs";
|
||
options = [ "mode=755" ];
|
||
};
|
||
|
||
fileSystems."/boot" = lib.mkForce
|
||
{ device = "UUID=0FCB-EC63"; # "/dev/disk/by-partlabel/disk-main-ESP";
|
||
fsType = "vfat";
|
||
options = [ "fmask=0022" "dmask=0022" ];
|
||
};
|
||
|
||
fileSystems."/var/log" = lib.mkForce
|
||
{ device = "UUID=88d9c058-757d-c06e-0fb7-a612f2db8a7a"; # "/dev/disk/by-partlabel/disk-main-root";
|
||
fsType = "bcachefs";
|
||
options = [ "X-mount.subdir=log" ];
|
||
};
|
||
|
||
fileSystems."/root" = lib.mkForce
|
||
{ device = lib.mkDefault "UUID=88d9c058-757d-c06e-0fb7-a612f2db8a7a"; # "/dev/disk/by-partlabel/disk-main-root";
|
||
fsType = "bcachefs";
|
||
options = [ "X-mount.subdir=root" ];
|
||
};
|
||
|
||
fileSystems."/etc" = lib.mkForce
|
||
{ device = lib.mkDefault "UUID=88d9c058-757d-c06e-0fb7-a612f2db8a7a"; # "/dev/disk/by-partlabel/disk-main-root";
|
||
fsType = "bcachefs";
|
||
options = [ "X-mount.subdir=etc" ];
|
||
};
|
||
|
||
fileSystems."/nix" = lib.mkForce
|
||
{ device = lib.mkDefault "UUID=88d9c058-757d-c06e-0fb7-a612f2db8a7a"; # "/dev/disk/by-partlabel/disk-main-root";
|
||
fsType = "bcachefs";
|
||
options = [ "X-mount.subdir=nix" "verbose" ];
|
||
};
|
||
|
||
fileSystems."/home" = lib.mkForce
|
||
{ device = lib.mkDefault "UUID=88d9c058-757d-c06e-0fb7-a612f2db8a7a"; # "/dev/disk/by-partlabel/disk-main-root";
|
||
fsType = "bcachefs";
|
||
options = [ "X-mount.subdir=home" ];
|
||
};
|
||
|
||
swapDevices =
|
||
[ ];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|