Hendrik Sokolowski
5ba1651350
All checks were successful
continuous-integration/drone/push Build is passing
58 lines
1.4 KiB
Nix
58 lines
1.4 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 = ["xhci_pci" "usbhid" "usb_storage" "uas"];
|
||
boot.kernelPackages = pkgs.linuxPackages_6_1;
|
||
boot.kernelParams = ["usb-storage.quirks=2109:0716:ouw,174c:55aa:u,2109:2813:ouw,2109:0813:ouw"];
|
||
|
||
boot.loader = {
|
||
timeout = 0;
|
||
efi.canTouchEfiVariables = false;
|
||
|
||
systemd-boot.enable = false;
|
||
generic-extlinux-compatible.enable = false;
|
||
|
||
grub = {
|
||
enable = true;
|
||
efiSupport = true;
|
||
efiInstallAsRemovable = true;
|
||
device = "nodev";
|
||
};
|
||
};
|
||
|
||
boot.initrd.luks.devices."cryptroot" = {
|
||
device = "/dev/disk/by-uuid/d86a20a6-686c-4bf8-bd3b-911901272742";
|
||
keyFile = "/dev/disk/by-id/usb-SanDisk_Cruzer_Blade_03024516121421043657-0:0-part1";
|
||
fallbackToPassword = true;
|
||
bypassWorkqueues = true;
|
||
};
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-label/root";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-label/boot";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
swapDevices = [
|
||
{device = "/dev/disk/by-label/swap";}
|
||
];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||
}
|