From a142b3f93080d5f4b97a383c95e5bb59d3065cf1 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 29 Jan 2025 14:21:26 -0800 Subject: add user cuda option --- config/nix.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config') 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 -- cgit