mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-10 00:25:57 +08:00
Run nix fmt
This commit is contained in:
parent
fe16b5f164
commit
36b1c10927
2 changed files with 5 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue