Run alejandra

This commit is contained in:
ItsDrike 2024-07-27 01:07:07 +02:00
parent 286920def4
commit c00134da1c
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
152 changed files with 827 additions and 721 deletions

View file

@ -1,4 +1,9 @@
{ pkgs, lib, config, ...}: let
{
pkgs,
lib,
config,
...
}: let
inherit (lib) mkIf;
deviceType = config.myOptions.device.roles.type;
acceptedTypes = ["laptop"];
@ -6,7 +11,7 @@ in {
config = mkIf (builtins.elem deviceType acceptedTypes) {
hardware.acpilight.enable = true;
environment.systemPackages = with pkgs; [ acpi ];
environment.systemPackages = with pkgs; [acpi];
# handle ACPI events
services.acpid.enable = true;
@ -20,4 +25,3 @@ in {
};
};
}

View file

@ -1,4 +1,9 @@
{ pkgs, lib, config, ...}: let
{
pkgs,
lib,
config,
...
}: let
inherit (lib) mkIf;
deviceType = config.myOptions.device.roles.type;
acceptedTypes = ["laptop"];
@ -10,6 +15,6 @@ in {
];
config = mkIf (builtins.elem deviceType acceptedTypes) {
environment.systemPackages = with pkgs; [ powertop ];
environment.systemPackages = with pkgs; [powertop];
};
}

View file

@ -1,4 +1,9 @@
{ pkgs, lib, config, ...}: let
{
pkgs,
lib,
config,
...
}: let
inherit (lib) mkIf;
inherit (lib.modules) mkForce;
inherit (lib.strings) makeBinPath;

View file

@ -1,4 +1,9 @@
{ pkgs, lib, config, ...}: let
{
pkgs,
lib,
config,
...
}: let
inherit (lib) mkIf;
deviceType = config.myOptions.device.roles.type;
acceptedTypes = ["laptop"];
@ -16,4 +21,3 @@ in {
};
};
}

View file

@ -1,4 +1,8 @@
{ lib, config, ...}: let
{
lib,
config,
...
}: let
inherit (lib) mkIf;
deviceType = config.myOptions.device.roles.type;
acceptedTypes = ["laptop"];