{ inputs, config, lib, pkgs, modulesPath, ... }: { imports = [ inputs.nixos-apple-silicon.nixosModules.apple-silicon-support inputs.hardware.nixosModules.common-pc-laptop-ssd inputs.hardware.nixosModules.common-pc-laptop (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = false; modules.hardware = { audio.enable = true; bluetooth.enable = true; networking.enable = true; pointer.enable = true; ios.enable = true; }; fileSystems."/" = { device = "/dev/disk/by-uuid/be826617-c861-48a2-b135-87138c3d2c1a"; fsType = "btrfs"; options = [ "noatime" ]; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/BD6E-1D12"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; swapDevices = [ { device = "/dev/disk/by-uuid/26ebd42b-1dd4-4f4e-935c-b5f9555562dd"; } ]; # 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..useDHCP`. networking.useDHCP = lib.mkDefault true; # networking.interfaces.end0.useDHCP = lib.mkDefault true; # networking.interfaces.wlan0.useDHCP = lib.mkDefault true; }