galadriel hardware uppgrade

This commit is contained in:
2026-01-28 17:10:52 +01:00
parent c17203e6a5
commit 7a9781e260
8 changed files with 30 additions and 10 deletions
+2 -2
View File
@@ -13,7 +13,7 @@
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
./nvidia.nix
#./nvidia.nix #we have intel gpu now
../../modules/boot.nix
../../modules/zram.nix
../../modules/zfs.nix
@@ -42,7 +42,7 @@
];
#Load zfs pool
boot.zfs.extraPools = [ "Main" ];
boot.zfs.extraPools = [ "Main" "lorien" ];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
@@ -26,6 +26,18 @@
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
environment.systemPackages = with pkgs; [
mkl
];
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
vpl-gpu-rt
];
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/7789ad41-d578-40bc-bf86-b761e0a4921e";
fsType = "btrfs";
+2
View File
@@ -10,6 +10,8 @@
git
wget
htop
bottom
nvtopPackages.full
busybox
nixfmt-rfc-style
nixfmt-tree
+1 -1
View File
@@ -12,7 +12,7 @@
openFirewall = true;
mediaLocation = "/Main/Data/media/pictures";
mediaLocation = "/lorien/media/pictures";
accelerationDevices = null;
settings = {
+2 -1
View File
@@ -73,7 +73,8 @@
system = "x86_64-linux";
maxJobs = 4;
speedFactor = 4001;
supportedFeatures = [ "cuda" ];
#supportedFeatures = [ "cuda" ];
supportedFeatures = [ ];
mandatoryFeatures = [ ];
}
+5 -3
View File
@@ -15,15 +15,17 @@ in
services.ollama = {
enable = true;
package = pkgs.unstable.ollama;
package = lib.mkDefault pkgs.unstable.ollama-vulkan;
acceleration = lib.mkDefault "vulkan";
host = "0.0.0.0";
openFirewall = true;
port = 11434;
home = "/var/lib/ollama";
environmentVariables = {
OLLAMA_CONTEXT_LENGTH="32000";
};
# Preloaded models
loadModels = [
"gemma3:1b"
"qwen3:latest"
"qwen3:4b"
"qwen3:0.6b"
+6 -3
View File
@@ -4,6 +4,9 @@
pkgs,
...
}:
let
dataLocation = "/lorien/media/"
in
{
sops.secrets."qbittorrent/interfaceAddress" = {
restartUnits = [ "qbittorrent-nox.service" ];
@@ -45,9 +48,9 @@
AnonymousModeEnabled = false;
BTProtocol = "Both";
BandwidthSchedulerEnabled = false;
DefaultSavePath = "/Main/Data/media/Downloads";
DefaultSavePath = dataLocation+"Downloads";
Encryption = 1;
FinishedTorrentExportDirectory = "/Main/Data/media/Downloads/torrents-complete";
FinishedTorrentExportDirectory =dataLocation+"Downloads/torrents-complete";
GlobalDLSpeedLimit = 0;
GlobalMaxRatio = 1.5;
GlobalUPSpeedLimit = 0;
@@ -69,7 +72,7 @@
TempPath = "/Main/Data/media/Downloads/temp";
TempPathEnabled = true;
TorrentContentLayout = "Subfolder";
TorrentExportDirectory = "/Main/Data/media/Downloads/torrents";
TorrentExportDirectory = dataLocation "Downloads/torrents";
UseAlternativeGlobalSpeedLimit = false;
};
};