From 7e7ea34ca678b88215a7b9f617ff15539c7d9de1 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Fri, 26 Dec 2025 23:29:33 +0100 Subject: [PATCH] Changed the AI.nix import from HM to Configuration.nix --- hosts/macos/home.nix | 3 --- hosts/macos/modules.nix | 4 +++- hosts/nixos/home.nix | 1 - hosts/nixos/modules.nix | 1 + 4 files changed, 4 insertions(+), 5 deletions(-) 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"; }) ]; }