62 lines
1.9 KiB
Nix
62 lines
1.9 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 = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/disk/by-uuid/f67a5f9f-b31b-46f8-9026-6e276e5b0bb9";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@" ];
|
||
};
|
||
|
||
fileSystems."/home" =
|
||
{ device = "/dev/disk/by-uuid/f67a5f9f-b31b-46f8-9026-6e276e5b0bb9";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@home" ];
|
||
};
|
||
|
||
fileSystems."/nix" =
|
||
{ device = "/dev/disk/by-uuid/f67a5f9f-b31b-46f8-9026-6e276e5b0bb9";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=@nix" ];
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{ device = "/dev/disk/by-uuid/64D0-FE2C";
|
||
fsType = "vfat";
|
||
options = [ "fmask=0022" "dmask=0022" ];
|
||
};
|
||
|
||
fileSystems."/mnt/containers" = {
|
||
device = "/dev/disk/by-uuid/350fedfa-fa0b-4941-a07e-cec4e817e566";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=containers" "compress=zstd:1" "discard=async" "noatime" ];
|
||
};
|
||
|
||
fileSystems."/mnt/ssd" = {
|
||
device = "/dev/disk/by-uuid/350fedfa-fa0b-4941-a07e-cec4e817e566";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=ssd" "compress=zstd:1" "discard=async" "noatime" ];
|
||
};
|
||
|
||
fileSystems."/mnt/data" = {
|
||
device = "/dev/disk/by-uuid/dbab8467-a044-4a44-a265-0f268971f3db";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=data" "compress=zstd:1" "autodefrag" "noatime" "x-systemd.device-timeout=40s" ];
|
||
};
|
||
swapDevices = [ ];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|