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,10 +1,9 @@
{ lib, ... }: let
{lib, ...}: let
inherit (lib) mkOption mkEnableOption types;
in
{
in {
options.myOptions.device = {
cpu.type = mkOption {
type = with types; nullOr (enum [ "intel" "amd" ]);
type = with types; nullOr (enum ["intel" "amd"]);
default = null;
description = ''
The manifaturer/type of the primary system CPU.
@ -16,7 +15,7 @@ in
};
gpu.type = mkOption {
type = with types; nullOr (enum [ "nvidia" "amd" "intel" "hybrid-nvidia" "hybrid-amd" ]);
type = with types; nullOr (enum ["nvidia" "amd" "intel" "hybrid-nvidia" "hybrid-amd"]);
default = null;
description = ''
The manifaturer/type of the primary system GPU.

View file

@ -1,4 +1,8 @@
{ lib, config, ... }: let
{
lib,
config,
...
}: let
inherit (lib) mkOption types;
cfg = config.myOptions.device.roles;