diff --git a/hosts/macos/home.nix b/hosts/macos/home.nix index fd43fa8..e454ad0 100644 --- a/hosts/macos/home.nix +++ b/hosts/macos/home.nix @@ -10,9 +10,6 @@ in commonHome // { # Refer to the nixOS host for info about home-manager # inherit commonHome; - imports = [ - (import ../../common/ai.nix { gpu = "metal"; }) - ]; home.stateVersion = "25.11"; # Allow unfree packages diff --git a/hosts/macos/modules.nix b/hosts/macos/modules.nix index fa6bd21..27985df 100644 --- a/hosts/macos/modules.nix +++ b/hosts/macos/modules.nix @@ -1,4 +1,6 @@ { # Enpty file for future imports - + imports = [ + (import ../../common/ai.nix { gpu = "metal"; }) + ]; } diff --git a/hosts/nixos/home.nix b/hosts/nixos/home.nix index 156bf7f..2bc5ea6 100644 --- a/hosts/nixos/home.nix +++ b/hosts/nixos/home.nix @@ -12,7 +12,6 @@ commonHome // { # manage. imports = [ ../../modules/home-manager/hyprland.nix - (import ../../modules/common/ai.nix { gpu = "cuda"; }) ]; # This value determines the Home Manager release that your configuration is # compatible with. This helps avoid breakage when a new Home Manager release diff --git a/hosts/nixos/modules.nix b/hosts/nixos/modules.nix index b9c9a47..c077315 100644 --- a/hosts/nixos/modules.nix +++ b/hosts/nixos/modules.nix @@ -8,5 +8,6 @@ ../../modules/nixos/gamming/steam.nix # For Steam/Proton/Lutris/MangoHUD/Heroic/Bottles ../../modules/common/spotify.nix # Spotify/Spicetify ../../modules/common/ssh.nix + (import ../../modules/common/ai.nix { gpu = "cuda"; }) ]; }