Merge branch 'main' of github.com:asosnovsky/nixos-setup
This commit is contained in:
commit
583d4e963b
11 files changed
+108
-101
No files matched your search
+1
-1
@@ -260,7 +260,7 @@ in
|
||||
port = 11434;
|
||||
acceleration = "rocm";
|
||||
rocmOverrideGfx = "11.0.2";
|
||||
package = unstablePkgs.ollama-rocm;
|
||||
# package = unstablePkgs.ollama-rocm;
|
||||
};
|
||||
# # Brother Printer
|
||||
hardware.sane.brscan5.enable = true;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{
|
||||
device = "/dev/disk/by-uuid/e903eb56-160d-4b77-ba66-ef54a18207f2";
|
||||
|
||||
+22
-12
@@ -1,5 +1,6 @@
|
||||
{ pkgs
|
||||
, unstablePkgs
|
||||
, lib
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
@@ -18,7 +19,7 @@ in
|
||||
user.enable = true;
|
||||
core.qemu.enable = true;
|
||||
nixos = {
|
||||
common.ssh-server.enable = true;
|
||||
common.ssh-server.enable = true;
|
||||
common.hardware = {
|
||||
sound.enable = true;
|
||||
pipewire.enable = true;
|
||||
@@ -72,8 +73,7 @@ in
|
||||
environment.systemPackages =
|
||||
(with pkgs; [
|
||||
# languages
|
||||
python313
|
||||
cargo
|
||||
# cargo
|
||||
rustc
|
||||
go
|
||||
pipx
|
||||
@@ -85,6 +85,11 @@ in
|
||||
|
||||
# Steam
|
||||
mangohud
|
||||
|
||||
# LLM Stuff
|
||||
ollama-rocm
|
||||
# stable-diffusion-cpp-rocm
|
||||
lmstudio
|
||||
]);
|
||||
services.usbmuxd.enable = true;
|
||||
# Steam
|
||||
@@ -106,20 +111,25 @@ in
|
||||
hardware.xone.enable = true; # support for the xbox controller USB dongle
|
||||
# Ollama
|
||||
services.open-webui.enable = true;
|
||||
users.users.ollama = {
|
||||
enable = true;
|
||||
home = "/var/lib/ollama";
|
||||
extraGroups = [
|
||||
"render"
|
||||
"video"
|
||||
];
|
||||
};
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
host = "0.0.0.0";
|
||||
port = ports.ollama;
|
||||
acceleration = "rocm";
|
||||
package = unstablePkgs.ollama-rocm;
|
||||
};
|
||||
# Tabby
|
||||
services.tabby = {
|
||||
enable = true;
|
||||
acceleration = "rocm";
|
||||
host = "0.0.0.0";
|
||||
port = ports.tabby;
|
||||
acceleration = "vulkan";
|
||||
user = "ollama";
|
||||
home = "/var/lib/ollama";
|
||||
rocmOverrideGfx = "gfx1151";
|
||||
};
|
||||
hardware.graphics.enable = true;
|
||||
hardware.amdgpu.opencl.enable = true;
|
||||
environment.localBinInPath = true;
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
|
||||
Reference in new issue
Block a user