diff --git a/nixos/hosts/framework16/default.nix b/nixos/hosts/framework16/default.nix index a06548bd..af80321c 100644 --- a/nixos/hosts/framework16/default.nix +++ b/nixos/hosts/framework16/default.nix @@ -15,13 +15,15 @@ ../../common/services/ollama.nix ]; + virtualisation.libvirtd.enable = true; + programs.virt-manager.enable = true; - # https://wiki.nixos.org/wiki/Ollama - services.ollama = { - acceleration = "rocm"; - package = pkgs.ollama-rocm; - rocmOverrideGfx = "11.0.2"; - environmentVariables.HCC_AMDGPU_TARGET = "gfx1102"; + # https://wiki.nixos.org/wiki/Ollama + services.ollama = { + acceleration = "rocm"; + package = pkgs.ollama-rocm; + rocmOverrideGfx = "11.0.2"; + environmentVariables.HCC_AMDGPU_TARGET = "gfx1102"; }; diff --git a/nixos/users/albert/default.nix b/nixos/users/albert/default.nix index d993fe6e..fbe96768 100644 --- a/nixos/users/albert/default.nix +++ b/nixos/users/albert/default.nix @@ -17,6 +17,7 @@ in { ++ ifExists [ "video" ] ++ ifExists [ "docker" ] ++ ifExists [ "podman" ] + ++ ifExists [ "libvirtd" ] ++ ifExists [ "syncthing" ]; shell = pkgs.fish; # mkpasswd -m sha-512