refactor(sys): systemModules -> ooknet
This commit is contained in:
parent
63c39a89ed
commit
104df464f9
52 changed files with 69 additions and 69 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue