Skip to content

Commit

Permalink
refactor: rename custom.cuda to custom.nvidia
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Feb 9, 2025
1 parent 6659b35 commit a694f58
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hosts/macbook-11-3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
};
};

custom.cuda = {
custom.nvidia = {
enable = false;
driver = "legacy_470";
xserverDriver = "nvidiaLegacy470";
Expand Down
2 changes: 1 addition & 1 deletion hosts/macbook-9-1/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
};
};

custom.cuda = {
custom.nvidia = {
enable = false;
driver = "legacy_470";
xserverDriver = "nvidiaLegacy470";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ config, lib, ... }:
let
cfg = config.custom.cuda;
cfg = config.custom.nvidia;
in
{
options.custom.cuda = {
enable = lib.mkEnableOption "CUDA";
options.custom.nvidia = {
enable = lib.mkEnableOption "NVIDIA";
driver = lib.mkOption {
type = lib.types.str;
default = "stable";
Expand Down

0 comments on commit a694f58

Please sign in to comment.