diff --git a/flake.nix b/flake.nix index e36ce89..89cd401 100644 --- a/flake.nix +++ b/flake.nix @@ -97,9 +97,10 @@ ]; }; - treefmt = { - nixpkgs-fmt.enable = true; - settings.nixpkgs-fmt.excludes = [ "nixos/jenkins/plugins.nix" ]; + treefmt.config = { + projectRootFile = "flake.nix"; + programs.nixpkgs-fmt.enable = true; + settings.formatter.nixpkgs-fmt.excludes = [ "nixos/jenkins/plugins.nix" ]; }; packages.default = self'.packages.activate; diff --git a/systems/hetzner/ex101.nix b/systems/hetzner/ex101.nix index c14567f..ab9e07b 100644 --- a/systems/hetzner/ex101.nix +++ b/systems/hetzner/ex101.nix @@ -11,7 +11,7 @@ efiInstallAsRemovable = true; }; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "sd_mod" ]; - boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; # For cross-compiling, https://discourse.nixos.org/t/how-do-i-cross-compile-a-flake/12062/4?u=srid + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; # For cross-compiling, https://discourse.nixos.org/t/how-do-i-cross-compile-a-flake/12062/4?u=srid nixpkgs.hostPlatform = "x86_64-linux"; # powerManagement.cpuFreqGovernor = "ondemand"; hardware.cpu.intel.updateMicrocode = true;