refactor(sys): systemModules -> ooknet

This commit is contained in:
ooks-io 2024-05-26 17:41:49 +12:00
parent 63c39a89ed
commit 104df464f9
52 changed files with 69 additions and 69 deletions

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
let
gpu = config.systemModules.host.hardware.gpu;
gpu = config.ooknet.host.hardware.gpu;
inherit (lib) mkIf mkDefault;
inherit (builtins) elem;
in

View file

@ -11,7 +11,7 @@ in
./nvidia.nix
];
options.systemModules.host.hardware.gpu.type = mkOption {
options.ooknet.host.hardware.gpu.type = mkOption {
type = with types; nullOr (enum ["intel" "amd" "nvidia"]);
default = null;
description = "Type of gpu system module to use";

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
let
gpu = config.systemModules.host.hardware.gpu;
gpu = config.ooknet.host.hardware.gpu;
inherit (lib) mkIf;
inherit (builtins) elem;

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
let
gpu = config.systemModules.host.hardware.gpu;
gpu = config.ooknet.host.hardware.gpu;
inherit (lib) mkIf mkDefault;
inherit (builtins) elem;
production = config.boot.kernelPackages.nvidiaPackages.production;