diff options
author | Preston Pan <preston@nullring.xyz> | 2025-01-29 14:21:26 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2025-01-29 14:21:26 -0800 |
commit | a142b3f93080d5f4b97a383c95e5bb59d3065cf1 (patch) | |
tree | ca79b0ad073dbc86c9b56a558d7406e15f5e08bd /config | |
parent | 7083deb773b9c12ef56da6a934f9f0daca95d8ba (diff) |
add user cuda option
Diffstat (limited to 'config')
-rw-r--r-- | config/nix.org | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/nix.org b/config/nix.org index d443470..cac6245 100644 --- a/config/nix.org +++ b/config/nix.org @@ -971,6 +971,7 @@ I have many imports that we'll go through next. art.enable = lib.mkEnableOption "Enables various art programs"; music.enable = lib.mkEnableOption "Enables mpd"; workstation.enable = lib.mkEnableOption "Enables workstation packages (music production and others)"; + cuda.enable = lib.mkEnableOption "Enables CUDA user package builds"; hyprland = { enable = lib.mkEnableOption "Enables hyprland"; @@ -2558,7 +2559,7 @@ This is pretty understandable, if you understand all the above. #+end_src ** Affinity #+begin_src nix :tangle ../nix/systems/affinity/default.nix - { config, lib, ... }: + { config, lib, home-manager, ... }: { imports = [ ../../modules/default.nix @@ -2570,6 +2571,7 @@ This is pretty understandable, if you understand all the above. }; vars.hostName = "affinity"; }; + config.home-manager.users."${config.monorepo.vars.userName}".monorepo.profiles.cuda.enable = true; } #+end_src ** Installer |