100 lines
1.9 KiB
Nix
Executable File
100 lines
1.9 KiB
Nix
Executable File
# 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.
|
||
{ lib, modulesPath, ... }:
|
||
|
||
{
|
||
imports = [
|
||
(modulesPath + "/installer/scan/not-detected.nix")
|
||
];
|
||
|
||
boot = {
|
||
initrd = {
|
||
luks.devices."cryptroot".device = "/dev/disk/by-uuid/6fc86225-2bd4-4d9f-ba51-c3bc6b1dc7f9";
|
||
availableKernelModules = [
|
||
"usbhid"
|
||
"usb_storage"
|
||
"sdhci_pci"
|
||
];
|
||
kernelModules = [ ];
|
||
};
|
||
kernelModules = [ ];
|
||
extraModulePackages = [ ];
|
||
};
|
||
|
||
fileSystems = {
|
||
"/" = {
|
||
device = "none";
|
||
fsType = "tmpfs";
|
||
options = [ "mode=755" ];
|
||
};
|
||
|
||
"/boot" = {
|
||
device = "/dev/disk/by-uuid/80CC-18FC";
|
||
fsType = "vfat";
|
||
options = [
|
||
"fmask=0022"
|
||
"dmask=0022"
|
||
];
|
||
};
|
||
|
||
"/home" = {
|
||
device = "/dev/mapper/cryptroot";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"subvol=home"
|
||
"compress=zstd"
|
||
];
|
||
};
|
||
|
||
"/persist" = {
|
||
device = "/dev/mapper/cryptroot";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"subvol=persist"
|
||
"compress=zstd"
|
||
];
|
||
};
|
||
|
||
"/etc" = {
|
||
device = "/dev/mapper/cryptroot";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"subvol=etc"
|
||
"compress=zstd"
|
||
];
|
||
};
|
||
|
||
"/root" = {
|
||
device = "/dev/mapper/cryptroot";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"subvol=root"
|
||
"compress=zstd"
|
||
];
|
||
};
|
||
|
||
"/nix" = {
|
||
device = "/dev/mapper/cryptroot";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"subvol=nix"
|
||
"compress=zstd"
|
||
];
|
||
};
|
||
|
||
"/var/log" = {
|
||
device = "/dev/mapper/cryptroot";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"subvol=log"
|
||
"compress=zstd"
|
||
];
|
||
};
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||
}
|