Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Commit

Permalink
:3
Browse files Browse the repository at this point in the history
  • Loading branch information
pilz0 committed Oct 26, 2024
1 parent f492fc2 commit 18a7112
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 16 deletions.
7 changes: 3 additions & 4 deletions configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
./nginx.nix
./foo.nix
./zsh.nix
./dn42.nix
./wg.nix
./birb.nix
# ./dn42.nix
# ./wg.nix
# ./birb.nix
./restic.nix
# ./qbittorrent.nix
];
Expand Down Expand Up @@ -72,7 +72,6 @@
nvtopPackages.nvidia
procps
gnumake
util-linux
m4
cudatoolkit
linuxPackages.nvidia_x11
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions net.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{ pkgs, ... }:
{
services.unifi = {
enable = true;
openFirewall = true;
unifiPackage = pkgs.unifi8;
};
# services.unifi = {
# enable = true;
# openFirewall = true;
# unifiPackage = pkgs.unifi8;
# };

services.unifi.mongodbPackage = pkgs.mongodb-6_0;
networking.networkmanager.enable = true;
networking.hostName = "serva";
services.unpoller = {
Expand Down
8 changes: 8 additions & 0 deletions nginx.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
proxyWebsockets = true; # needed if you need to use WebSocket
};
};
virtualHosts."ai.ketamin.trade" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:2315";
proxyWebsockets = true; # needed if you need to use WebSocket
};
};
virtualHosts."ketamin.trade" = {
enableACME = true;
forceSSL = true;
Expand Down
4 changes: 2 additions & 2 deletions peers/Kioubit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
}
];
postSetup = ''
${pkgs.iproute}/bin/ip addr add 192.168.217.70/32 peer 172.20.53.97/32 dev dn42-peer
${pkgs.iproute}/bin/ip -6 addr add fe80::ade0/128 dev dn42-peer
${pkgs.iproute2}/bin/ip addr add 192.168.217.70/32 peer 172.20.53.97/32 dev dn42-peer
${pkgs.iproute2}/bin/ip -6 addr add fe80::ade0/128 dev dn42-peer
'';
};
}
15 changes: 13 additions & 2 deletions services.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,19 @@ hardware.nvidia = {
programs.git.config.user.name = "pilz0";
programs.git.config.user.email = "marie0@riseup.net";

services.ollama = {
enable = true;
acceleration = "cuda";
};
services.open-webui = {
enable = true;
port = 2315;
};



services.writefreely = {
enable = true;
# enable = true;
admin.name = "marie";
host = "flohannes.de";
database = {
Expand All @@ -59,7 +70,7 @@ services.nextcloud = {
configureRedis = true;
maxUploadSize = "20G";
https = true;
package = pkgs.nextcloud29;
package = pkgs.nextcloud30;
hostName = "cloud.ketamin.trade";
config.adminpassFile = "/etc/nextcloud-admin-pass";
appstoreEnable = true;
Expand Down

0 comments on commit 18a7112

Please # to comment.