feat: introduce treefmt and fmt all

This commit is contained in:
steveej 2024-11-15 10:17:56 +01:00
parent 80250b0179
commit 5d5282a914
213 changed files with 4967 additions and 4423 deletions

View file

@ -8,7 +8,8 @@
localDomainName,
system,
...
}: {
}:
{
nixos-x13s = {
enable = true;
# TODO: use hardware address
@ -41,8 +42,8 @@
echo $?
)
'';
requiredBy = ["bluetooth.service"];
before = ["bluetooth.service"];
requiredBy = [ "bluetooth.service" ];
before = [ "bluetooth.service" ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
@ -103,20 +104,15 @@
];
system.stateVersion = "23.11";
home-manager.users.root = _: {
home.stateVersion = "23.11";
};
home-manager.users.root = _: { home.stateVersion = "23.11"; };
home-manager.users.steveej = _: {
home.stateVersion = "23.11";
imports = [
../../../home-manager/configuration/graphical-fullblown.nix
];
imports = [ ../../../home-manager/configuration/graphical-fullblown.nix ];
home.sessionVariables = {};
home.sessionVariables = { };
home.packages = with pkgs; [
];
home.packages = with pkgs; [ ];
# TODO: currently unsupported
services.gammastep.enable = lib.mkForce false;
@ -127,7 +123,7 @@
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = lib.mkForce false;
loader.efi.efiSysMountPoint = "/boot";
blacklistedKernelModules = ["wwan"];
blacklistedKernelModules = [ "wwan" ];
initrd.kernelModules = [
"uas"
@ -153,7 +149,8 @@
"firmware/qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn".source = pkgs.linux-firmware;
"firmware/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn".source = pkgs.linux-firmware;
"firmware/qcom/sc8280xp/LENOVO/21BX/qcslpi8280.mbn".source = pkgs.linux-firmware;
"firmware/qcom/sc8280xp/LENOVO/21BX/qcvss8280.mbn".source = nodeFlake.inputs.nixos-x13s.packages.${system}."x13s/extra-firmware";
"firmware/qcom/sc8280xp/LENOVO/21BX/qcvss8280.mbn".source =
nodeFlake.inputs.nixos-x13s.packages.${system}."x13s/extra-firmware";
};
};