refactor(treewide): statix
This commit is contained in:
parent
366fa0ce80
commit
7f2cd7a343
71 changed files with 84 additions and 84 deletions
|
|
@ -4,7 +4,7 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
gpu = config.ooknet.host.hardware.gpu;
|
||||
inherit (config.ooknet.host.hardware) gpu;
|
||||
inherit (lib) mkIf mkDefault;
|
||||
inherit (builtins) elem;
|
||||
in {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
gpu = config.ooknet.host.hardware.gpu;
|
||||
inherit (config.ooknet.host.hardware) gpu;
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
# vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;};
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
gpu = config.ooknet.host.hardware.gpu;
|
||||
inherit (config.ooknet.host.hardware) gpu;
|
||||
inherit (lib) mkIf mkDefault;
|
||||
inherit (builtins) elem;
|
||||
# production = config.boot.kernelPackages.nvidiaPackages.production;
|
||||
beta = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
inherit (config.boot.kernelPackages.nvidiaPackages) beta;
|
||||
in {
|
||||
# TODO: make option to choose nvidia package
|
||||
config = mkIf (gpu.type == "nvidia") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue