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