59 lines
1.8 KiB
Nix
59 lines
1.8 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" "rtsx_pci_sdmmc" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.initrd.systemd.enable = true;
|
||
boot.kernelModules = [ "kvm-amd" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=root" "compress=zstd" ];
|
||
};
|
||
|
||
boot.initrd.luks.devices."enc".device = "/dev/disk/by-uuid/078b81ba-238e-471d-9951-b743588532b8";
|
||
boot.initrd.luks.devices."enc".crypttabExtraOpts = [ "fido2-device=auto" ];
|
||
|
||
fileSystems."/log" = {
|
||
device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=log" "compress=zstd" ];
|
||
neededForBoot = true;
|
||
};
|
||
|
||
fileSystems."/nix" = {
|
||
device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=nix" "compress=zstd" ];
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-uuid/938D-F813";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
fileSystems."/persist" = {
|
||
device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=persist" "compress=zstd" ];
|
||
};
|
||
|
||
fileSystems."/home" = {
|
||
device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=home" "compress=zstd" ];
|
||
};
|
||
|
||
swapDevices = [{ device = "/dev/disk/by-uuid/29ebf65f-e6ca-4625-9f72-a9321152be1b"; }];
|
||
}
|