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

@ -1,5 +1,4 @@
{config, ...}: {
boot.extraModulePackages = [
config.boot.kernelPackages.v4l2loopback
];
{ config, ... }:
{
boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
}

View file

@ -1,3 +1,8 @@
{pkgs, ...}: {
imports = [./boot.nix ./system.nix ./hw.nix];
{ ... }:
{
imports = [
./boot.nix
./system.nix
./hw.nix
];
}

View file

@ -1,3 +1 @@
{...}: {
hardware.enableAllFirmware = true;
}
_: { hardware.enableAllFirmware = true; }

View file

@ -1,11 +1,6 @@
{ pkgs, ... }:
{
pkgs,
lib,
...
}: {
imports = [
../../snippets/bluetooth.nix
];
imports = [ ../../snippets/bluetooth.nix ];
networking.networkmanager = {
enable = true;
@ -26,7 +21,11 @@
services.pcscd.enable = true;
hardware.opengl.enable = true;
services.udev.packages = [pkgs.libu2f-host pkgs.yubikey-personalization pkgs.android-udev-rules];
services.udev.packages = [
pkgs.libu2f-host
pkgs.yubikey-personalization
pkgs.android-udev-rules
];
services.udev.extraRules = ''
# OnePlusOne
ATTR{idVendor}=="05c6", ATTR{idProduct}=="6764", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1", TAG+="uaccess"
@ -53,6 +52,9 @@
services.printing = {
enable = true;
drivers = with pkgs; [mfcl3770cdwlpr mfcl3770cdwcupswrapper];
drivers = with pkgs; [
mfcl3770cdwlpr
mfcl3770cdwcupswrapper
];
};
}