Compare commits
No commits in common. "6c6af12ef6905ee7b968b664f0bc3dd5a6ec780f" and "a9a6518deea030301932a6442824ef3ec7a80293" have entirely different histories.
6c6af12ef6
...
a9a6518dee
@ -97,6 +97,7 @@
|
||||
thermald.enable = true;
|
||||
};
|
||||
|
||||
|
||||
stylix = {
|
||||
enable = true;
|
||||
autoEnable = true;
|
||||
|
||||
@ -13,8 +13,8 @@
|
||||
gc.automatic = true;
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
#substituters = ["http://nix.dhilton.xyz/" "https://cache.nixos.org/"];
|
||||
#trusted-public-keys = ["nix.dhilton.xyz:MOW060dF1A0/UXmPZBue9KMxCO13PHYFwx1X9hcdYZ4="];
|
||||
substituters = ["http://nix.dhilton.xyz/" "https://cache.nixos.org/"];
|
||||
trusted-public-keys = ["nix.dhilton.xyz:MOW060dF1A0/UXmPZBue9KMxCO13PHYFwx1X9hcdYZ4="];
|
||||
};
|
||||
};
|
||||
|
||||
@ -50,15 +50,7 @@
|
||||
|
||||
home-manager = {users = {"k" = import ./home.nix;};};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
microcodeIntel
|
||||
firefox
|
||||
(pkgs.kodi.withPackages (kodiPkgs:
|
||||
with kodiPkgs; [
|
||||
jellyfin
|
||||
youtube
|
||||
]))
|
||||
];
|
||||
environment.systemPackages = with pkgs; [microcodeIntel];
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
|
||||
@ -5,8 +5,5 @@
|
||||
...
|
||||
}: {
|
||||
imports = [../home/home_common.nix];
|
||||
home = {packages = with pkgs; [docker docker-compose neovim waypipe];};
|
||||
services = {
|
||||
syncthing.enable = true;
|
||||
};
|
||||
home = {packages = with pkgs; [docker docker-compose neovim];};
|
||||
}
|
||||
|
||||
@ -3,12 +3,10 @@
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
networking = {
|
||||
firewall = {
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [80 443 22 25565 26615 8080];
|
||||
allowedUDPPorts = [26615 8080 1900];
|
||||
};
|
||||
allowedTCPPorts = [80 443 22];
|
||||
allowedUDPPorts = [];
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
@ -33,15 +31,6 @@
|
||||
|
||||
i2p = {enable = true;};
|
||||
|
||||
cockpit = {
|
||||
enable = true;
|
||||
allowed-origins = ["https://pit.dhilton.xyz"];
|
||||
};
|
||||
|
||||
pulseaudio = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
nix-serve = {
|
||||
enable = true;
|
||||
secretKeyFile = "/var/cache-priv-key.pem";
|
||||
@ -184,15 +173,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
"pit.dhilton.xyz" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:9090";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
||||
"nix.dhilton.xyz" = {
|
||||
locations."/".proxyPass = "http://127.0.0.1:5000";
|
||||
};
|
||||
|
||||
@ -34,9 +34,6 @@
|
||||
#!/bin/sh
|
||||
export LD_LIBRARY_PATH="${prev.intel-compute-runtime.drivers}/lib"
|
||||
export OLLAMA_INTEL_GPU=1
|
||||
export OLLAMA_NUM_GPU=999
|
||||
export ZES_ENABLE_SYSMAN=1
|
||||
export SYCL_CACHE_PERSISTENT=1
|
||||
exec "$out/bin/ollama-base" "\$@"
|
||||
EOF
|
||||
chmod +x "$out/bin/ollama-wrapped"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user