# 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, inputs, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "usb_storage" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; # FIXME: was previously only "apple_dcp.show_notch=1" # wish I could predict the commit hash boot.kernelParams = lib.mkForce [ "earlycon" "console=tty0" "boot.shell_on_fail" "nvme_apple.flush_interval=0" "quiet" "splash" "boot.shell_on_fail" "loglevel=3" "rd.systemd.show_status=false" "rd.udev.log_level=3" "udev.log_priority=3" "apple_dcp.show_notch=1" "root=fstab" "splash" "loglevel=0" ]; hardware.asahi.peripheralFirmwareDirectory = ./firmware; hardware.asahi.useExperimentalGPUDriver = true; fileSystems."/" = { device = "/dev/disk/by-uuid/9dba1955-a00b-4963-ac49-74e925ddd1b2"; fsType = "ext4"; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/C215-0A0E"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; zramSwap.enable = true; swapDevices = [{ device = "/swap"; size = 24 * 1000; }]; # Use the systemd-boot EFI boot loader. boot.loader.grub = { enable = true; efiSupport = true; device = "nodev"; theme = pkgs.rose-pine-grub; }; boot.loader.efi.canTouchEfiVariables = false; # 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.wlan0.useDHCP = lib.mkDefault true; networking.wireless.iwd = { enable = true; settings.General.EnableNetworkConfiguration = true; }; networking.hostName = "llynx"; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; }