69 lines
1.7 KiB
Nix
69 lines
1.7 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 = [ "usbhid" "usb_storage" "sdhci_pci" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" =
|
||
{ device = "none";
|
||
fsType = "tmpfs";
|
||
options = [ "mode=755" ];
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{ device = "/dev/disk/by-uuid/80CC-18FC";
|
||
fsType = "vfat";
|
||
options = [ "fmask=0022" "dmask=0022" ];
|
||
};
|
||
|
||
fileSystems."/home" =
|
||
{ device = "/dev/mapper/cryptroot";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=home" ];
|
||
};
|
||
|
||
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/6fc86225-2bd4-4d9f-ba51-c3bc6b1dc7f9";
|
||
|
||
fileSystems."/persist" =
|
||
{ device = "/dev/mapper/cryptroot";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=persist" ];
|
||
};
|
||
|
||
fileSystems."/etc" =
|
||
{ device = "/dev/mapper/cryptroot";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=etc" ];
|
||
};
|
||
|
||
fileSystems."/root" =
|
||
{ device = "/dev/mapper/cryptroot";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=root" ];
|
||
};
|
||
|
||
fileSystems."/nix" =
|
||
{ device = "/dev/mapper/cryptroot";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=nix" ];
|
||
};
|
||
|
||
fileSystems."/var/log" =
|
||
{ device = "/dev/mapper/cryptroot";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=log" ];
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||
} |