feat: introduce treefmt and fmt all

This commit is contained in:
steveej 2024-11-15 10:17:56 +01:00
parent 80250b0179
commit 27c6c4f9fa
237 changed files with 5440 additions and 5214 deletions

View file

@ -2,10 +2,10 @@
pkgs,
lib,
config,
nodeName,
repoFlake,
...
}: let
}:
let
localTcpPorts = [
22
@ -21,12 +21,11 @@
22000
21027
];
in {
in
{
nix.settings = {
substituters = [
];
trusted-public-keys = [
];
substituters = [ ];
trusted-public-keys = [ ];
};
nix.distributedBuilds = true;
@ -39,7 +38,7 @@ in {
system = "x86_64-linux";
maxJobs = 32;
speedFactor = 100;
supportedFeatures = repoFlake.nixosConfigurations.steveej-t14.config.nix.settings.system-features ++ [];
supportedFeatures = repoFlake.nixosConfigurations.steveej-t14.config.nix.settings.system-features;
}
{
@ -50,16 +49,15 @@ in {
system = "aarch64-linux";
maxJobs = 32;
speedFactor = 100;
supportedFeatures = repoFlake.nixosConfigurations.router0-dmz0.config.nix.settings.system-features ++ [];
supportedFeatures = repoFlake.nixosConfigurations.router0-dmz0.config.nix.settings.system-features;
}
];
networking.networkmanager.enable = true;
networking.extraHosts = ''
'';
networking.extraHosts = '''';
networking.bridges."virbr1".interfaces = [];
networking.bridges."virbr1".interfaces = [ ];
networking.interfaces."virbr1".ipv4.addresses = [
{
address = "10.254.254.254";
@ -92,7 +90,9 @@ in {
# virtualization
virtualisation = {
libvirtd = {enable = true;};
libvirtd = {
enable = true;
};
virtualbox.host = {
enable = false;
@ -110,13 +110,11 @@ in {
# client min protocol = NT1
'';
security.pki.certificateFiles = ["${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"];
security.pki.certificateFiles = [ "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ];
services.xserver.videoDrivers = lib.mkForce ["amdgpu"];
services.xserver.videoDrivers = lib.mkForce [ "amdgpu" ];
hardware.ledger.enable = true;
boot.binfmt.emulatedSystems = [
"aarch64-linux"
];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
}