diff --git a/nixos/computational/configuration.nix b/nixos/computational/configuration.nix index ccb5364..01bbce2 100644 --- a/nixos/computational/configuration.nix +++ b/nixos/computational/configuration.nix @@ -20,6 +20,7 @@ systemd.tmpfiles.rules = [ "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}" ]; + nixpkgs.config.rocmSupport = true; # [BOOT] boot.loader.systemd-boot.enable = true; @@ -81,5 +82,20 @@ }; }; + # [GAME STREAMING] + services.sunshine = { + enable = true; + openFirewall = true; + }; + + # [LOCAL LLMs] + services.ollama = { + enable = true; + acceleration = "rocm"; + rocmOverrideGfx = "10.3.0"; + }; + + services.nextjs-ollama-llm-ui.enable = true; + system.stateVersion = "24.11"; } diff --git a/nixos/shared/user-system.nix b/nixos/shared/user-system.nix index 74d5d7c..f1593c9 100644 --- a/nixos/shared/user-system.nix +++ b/nixos/shared/user-system.nix @@ -94,6 +94,7 @@ system: config: { pkgs, ... }: "wheel" "networkmanager" "video" + "render" "input" "audio" "docker"