2021-09-08 19:43:08 +02:00
|
|
|
|
# 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.
|
2022-07-15 13:11:54 +02:00
|
|
|
|
{ config
|
|
|
|
|
, lib
|
|
|
|
|
, pkgs
|
|
|
|
|
, modulesPath
|
|
|
|
|
, ...
|
|
|
|
|
}: {
|
2021-10-03 12:31:31 +02:00
|
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2021-09-08 19:43:08 +02:00
|
|
|
|
|
2022-07-15 13:11:54 +02:00
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "rtsx_pci_sdmmc" ];
|
2021-09-08 19:43:08 +02:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2021-10-03 12:31:31 +02:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154";
|
|
|
|
|
fsType = "btrfs";
|
2022-09-27 14:10:53 +02:00
|
|
|
|
options = [ "subvol=root" "compress=zstd" ];
|
2021-10-03 12:31:31 +02:00
|
|
|
|
};
|
|
|
|
|
|
2022-07-15 13:11:54 +02:00
|
|
|
|
boot.initrd.luks.devices."enc".device = "/dev/disk/by-uuid/078b81ba-238e-471d-9951-b743588532b8";
|
2021-10-03 12:31:31 +02:00
|
|
|
|
|
|
|
|
|
fileSystems."/log" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154";
|
|
|
|
|
fsType = "btrfs";
|
2022-09-27 14:10:53 +02:00
|
|
|
|
options = [ "subvol=log" "compress=zstd" ];
|
2021-10-03 12:31:31 +02:00
|
|
|
|
neededForBoot = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/nix" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154";
|
|
|
|
|
fsType = "btrfs";
|
2022-09-27 14:10:53 +02:00
|
|
|
|
options = [ "subvol=nix" "compress=zstd" ];
|
2021-10-03 12:31:31 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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";
|
2022-09-27 14:10:53 +02:00
|
|
|
|
options = [ "subvol=persist" "compress=zstd" ];
|
2021-10-03 12:31:31 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/home" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154";
|
|
|
|
|
fsType = "btrfs";
|
2022-09-27 14:10:53 +02:00
|
|
|
|
options = [ "subvol=home" "compress=zstd" ];
|
2021-10-03 12:31:31 +02:00
|
|
|
|
};
|
2021-09-08 19:43:08 +02:00
|
|
|
|
|
2022-07-15 13:11:54 +02:00
|
|
|
|
swapDevices = [{ device = "/dev/disk/by-uuid/29ebf65f-e6ca-4625-9f72-a9321152be1b"; }];
|
2021-09-08 19:43:08 +02:00
|
|
|
|
}
|