2023-07-30 09:23:12 +03:00
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
2023-09-06 16:10:11 +03:00
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2023-07-30 09:23:12 +03:00
|
|
|
|
2024-01-01 16:31:41 +03:00
|
|
|
boot.initrd.availableKernelModules = [ "usb_storage" "xhci_pci" "usbhid" ];
|
2023-07-30 09:23:12 +03:00
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
boot.kernelModules = [ ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
2023-09-06 16:10:11 +03:00
|
|
|
fileSystems."/" = {
|
2023-12-24 08:49:24 +03:00
|
|
|
device = "/dev/disk/by-uuid/679b5c29-3e7f-4449-96f0-7e5890302e32";
|
|
|
|
fsType = "btrfs";
|
2023-09-06 16:10:11 +03:00
|
|
|
};
|
2023-07-30 09:23:12 +03:00
|
|
|
|
2023-12-24 08:49:24 +03:00
|
|
|
boot.initrd.luks.devices."nixos-root".device =
|
|
|
|
"/dev/disk/by-uuid/845370c8-5841-4c9e-b50b-c3a70f6fd2b6";
|
2023-07-30 09:23:12 +03:00
|
|
|
|
2023-09-06 16:10:11 +03:00
|
|
|
fileSystems."/boot" = {
|
2023-12-24 08:49:24 +03:00
|
|
|
device = "/dev/disk/by-uuid/2AC0-1B04";
|
2023-09-06 16:10:11 +03:00
|
|
|
fsType = "vfat";
|
|
|
|
};
|
2023-07-30 09:23:12 +03:00
|
|
|
|
2023-09-06 16:10:11 +03:00
|
|
|
swapDevices = [{
|
2023-12-24 08:49:24 +03:00
|
|
|
device = "/dev/disk/by-partuuid/8bd4586f-e44b-41b3-a060-52ba7773237f";
|
2023-09-06 16:10:11 +03:00
|
|
|
randomEncryption.enable = true;
|
|
|
|
}];
|
2023-08-30 15:10:46 +03:00
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
2023-07-30 09:23:12 +03:00
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
|
|
|
}
|