2024-12-04 15:59:23 +01: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.
|
2024-01-08 16:28:12 +01:00
|
|
|
|
{
|
2024-12-04 15:59:23 +01:00
|
|
|
|
lib,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = ["xhci_pci"];
|
|
|
|
|
boot.initrd.kernelModules = [];
|
|
|
|
|
boot.kernelModules = [];
|
|
|
|
|
boot.extraModulePackages = [];
|
2024-12-04 16:11:59 +01:00
|
|
|
|
boot.supportedFilesystems = lib.mkForce ["btrfs" "cifs" "f2fs" "jfs" "ntfs" "reiserfs" "vfat" "xfs"];
|
2024-01-08 16:28:12 +01:00
|
|
|
|
|
2024-12-08 15:09:10 +01:00
|
|
|
|
swapDevices = [
|
|
|
|
|
{
|
2024-12-08 15:38:06 +01:00
|
|
|
|
device = "/swapfile";
|
2024-12-08 15:09:10 +01:00
|
|
|
|
size = 16 * 1024;
|
|
|
|
|
}
|
|
|
|
|
];
|
2024-12-04 15:59:23 +01:00
|
|
|
|
|
|
|
|
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
|
|
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
|
|
|
# still possible to use this option, but it's recommended to use it in conjunction
|
|
|
|
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
|
# networking.interfaces.end0.useDHCP = lib.mkDefault true;
|
|
|
|
|
# networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
2024-01-08 16:28:12 +01:00
|
|
|
|
}
|