Run nix fmt

This commit is contained in:
Sridhar Ratnakumar 2023-07-15 10:51:52 -04:00
parent fe16b5f164
commit 36b1c10927
2 changed files with 5 additions and 4 deletions

View file

@ -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;

View file

@ -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;