Update framework16 with libvirtd / gnome-boxes

This commit is contained in:
albert 2025-01-19 22:29:00 +01:00
parent 8781b7d424
commit b6d5383690
Signed by: albert
GPG key ID: 3895DD267CA11BA9
2 changed files with 9 additions and 6 deletions
nixos
hosts/framework16
users/albert

View file

@ -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";
};

View file

@ -17,6 +17,7 @@ in {
++ ifExists [ "video" ]
++ ifExists [ "docker" ]
++ ifExists [ "podman" ]
++ ifExists [ "libvirtd" ]
++ ifExists [ "syncthing" ];
shell = pkgs.fish;
# mkpasswd -m sha-512