chore: format everything

This commit is contained in:
oddlama 2024-11-26 13:34:55 +01:00
parent deca311c68
commit 7ccd7856ee
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
162 changed files with 4750 additions and 3718 deletions

View file

@ -1,5 +1,6 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [bluetui];
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ bluetui ];
environment.persistence."/persist".directories = [
"/var/lib/bluetooth"
];
@ -7,7 +8,7 @@
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
disabledPlugins = ["sap"];
disabledPlugins = [ "sap" ];
settings = {
General = {
FastConnectable = "true";
@ -19,12 +20,12 @@
};
hardware.pulseaudio = {
package = pkgs.pulseaudio.override {bluetoothSupport = true;};
package = pkgs.pulseaudio.override { bluetoothSupport = true; };
extraConfig = ''
load-module module-bluetooth-discover
load-module module-bluetooth-policy
load-module module-switch-on-connect
'';
extraModules = with pkgs; [pulseaudio-modules-bt];
extraModules = with pkgs; [ pulseaudio-modules-bt ];
};
}

View file

@ -1,4 +1,9 @@
{
boot.initrd.availableKernelModules = ["virtio_pci" "virtio_net" "virtio_scsi" "virtio_blk"];
boot.initrd.availableKernelModules = [
"virtio_pci"
"virtio_net"
"virtio_scsi"
"virtio_blk"
];
topology.self.icon = "devices.cloud-server";
}

View file

@ -5,8 +5,8 @@
...
}:
lib.optionalAttrs (!minimal) {
boot.blacklistedKernelModules = ["nouveau"];
services.xserver.videoDrivers = lib.mkForce ["nvidia"];
boot.blacklistedKernelModules = [ "nouveau" ];
services.xserver.videoDrivers = lib.mkForce [ "nvidia" ];
hardware = {
graphics = {

View file

@ -1,4 +1,5 @@
{inputs, ...}: {
{ inputs, ... }:
{
imports = [
inputs.nixos-hardware.nixosModules.common-pc-ssd
];
@ -22,5 +23,8 @@
"drm"
"display_connector"
];
boot.kernelParams = ["console=ttyAML0,115200n8" "console=tty0"];
boot.kernelParams = [
"console=ttyAML0,115200n8"
"console=tty0"
];
}

View file

@ -4,7 +4,8 @@
lib,
minimal,
...
}: {
}:
{
hardware = {
enableRedistributableFirmware = true;
enableAllFirmware = true;
@ -13,6 +14,6 @@
services = lib.mkIf (!minimal) {
fwupd.enable = true;
smartd.enable = true;
thermald.enable = builtins.elem config.nixpkgs.hostPlatform.system ["x86_64-linux"];
thermald.enable = builtins.elem config.nixpkgs.hostPlatform.system [ "x86_64-linux" ];
};
}