Compare commits

...

2 Commits

Author SHA1 Message Date
6470c15c96 Use stable kernel 2025-12-13 11:02:32 -05:00
1497b3e680 Remove ollama 2025-12-13 10:49:23 -05:00
3 changed files with 20 additions and 53 deletions

36
flake.lock generated
View File

@@ -207,11 +207,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1763759067, "lastModified": 1765495779,
"narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=", "narHash": "sha256-MhA7wmo/7uogLxiewwRRmIax70g6q1U/YemqTGoFHlM=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0", "rev": "5635c32d666a59ec9a55cab87e898889869f7b71",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -343,11 +343,11 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1765384171, "lastModified": 1765605144,
"narHash": "sha256-FuFtkJrW1Z7u+3lhzPRau69E0CNjADku1mLQQflUORo=", "narHash": "sha256-RM2xs+1HdHxesjOelxoA3eSvXShC8pmBvtyTke4Ango=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "44777152652bc9eacf8876976fa72cc77ca8b9d8", "rev": "90b62096f099b73043a747348c11dbfcfbdea949",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -438,11 +438,11 @@
}, },
"nixpkgs-master": { "nixpkgs-master": {
"locked": { "locked": {
"lastModified": 1765457807, "lastModified": 1765639711,
"narHash": "sha256-wF1c3/v23LY3bFn8ciGDQyaHnAJuOL/4i64FAMM5TWo=", "narHash": "sha256-FHgcKgFONNW2epilU72fWou1D/P+DgRSDvswAlua9tg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "daca99a84a71f50f6561a85b1c6fad505962e83b", "rev": "2e0977107afca75db2966c059105370da3c71da5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -470,11 +470,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1765186076, "lastModified": 1765472234,
"narHash": "sha256-hM20uyap1a0M9d344I692r+ik4gTMyj60cQWO+hAYP8=", "narHash": "sha256-9VvC20PJPsleGMewwcWYKGzDIyjckEz8uWmT0vCDYK0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "addf7cf5f383a3101ecfba091b98d0a1263dc9b8", "rev": "2fbfb1d73d239d2402a8fe03963e37aab15abe8b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -572,11 +572,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1765212031, "lastModified": 1765632205,
"narHash": "sha256-vOaAKjFYTrWIjGU2f5ORH8Jr5OfnzcgrF0qQb9RExaI=", "narHash": "sha256-2FVFinUhMwp2Z3OldK+WjlABf6jgaxhsx+cAJfH3OSY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "a9d0e063bcbb43f18f5baf42713ba240f3a8ab22", "rev": "844cb1c1b72cda6baec95fd9f18c2937f8f6463c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -666,11 +666,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1765390488, "lastModified": 1765478257,
"narHash": "sha256-fHD0DpxyZ4nXGTPl5D1YRIn6Udd2kW7VIWO19s7HWnE=", "narHash": "sha256-GMCAQgs+h4aHhLP3LF6JxI5uNg+fLPlRhHwRrJJ+3+Y=",
"owner": "nix-community", "owner": "nix-community",
"repo": "stylix", "repo": "stylix",
"rev": "93c8a26eeed48e08433b8ba4701a9aee87e349a3", "rev": "a7fb3944d1fb4daa073ba82e1a9d34b5f05adb9f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -32,12 +32,8 @@
boot = { boot = {
kernelModules = [ kernelModules = [
"kvm-amd" "kvm-amd"
"vfio_pci"
"vfio"
"vfio_iommu_type1"
"vfio_virqfd"
]; ];
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages;
kernelParams = [ kernelParams = [
"amd_iommu=on" "amd_iommu=on"
]; ];
@@ -334,34 +330,6 @@
package = unstable.tailscale; package = unstable.tailscale;
}; };
services.ollama = {
package = pkgs.ollama;
enable = true;
# acceleration = "rocm";
host = "0.0.0.0";
environmentVariables = {
HSA_OVERRIDE_GFX_VERSION = "11.0.2";
};
loadModels = [
"dolphin3:8b"
"llama3.1"
"llava"
];
};
services.open-webui = {
enable = true;
package = pkgs.open-webui;
host = "0.0.0.0";
environment = {
ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True";
OLLAMA_API_BASE_URL = "http://127.0.0.1:11434/api";
OLLAMA_BASE_URL = "http://127.0.0.1:11434";
};
};
services.opensnitch = { services.opensnitch = {
enable = true; enable = true;
rules = { rules = {

View File

@@ -16,7 +16,7 @@
users.users."dave.gallant".home = "/Users/dave.gallant"; users.users."dave.gallant".home = "/Users/dave.gallant";
users.users."dave.gallant".shell = pkgs.fish; users.users."dave.gallant".shell = pkgs.fish;
programs.fish.enable = true; programs.fish.enable = true;
system.primaryUser = "dave.gallant"; system.primaryUser = "dave.gallant";
@@ -104,7 +104,6 @@
"lulu" "lulu"
"notunes" "notunes"
"obsidian" "obsidian"
"ollama"
"raycast" "raycast"
"rectangle" "rectangle"
"signal" "signal"