diff --git a/system/services/containers/ollama/default.nix b/system/services/containers/ollama/default.nix index 08df3fe..2978258 100644 --- a/system/services/containers/ollama/default.nix +++ b/system/services/containers/ollama/default.nix @@ -8,6 +8,10 @@ }; config = lib.mkIf config.sysconfig.virtualization.ollama.enable { + + networking = { + nat.internalInterfaces = [ "ve-ollama" ]; + }; containers.ollama = { @@ -37,6 +41,11 @@ hostPath = "/dev/nvidia-uvm-tools"; isReadOnly = false; }; + + "/dev/dri/renderD128" = { + hostPath = "/dev/dri/renderD128"; + isReadOnly = false; + }; }; allowedDevices = [ @@ -60,6 +69,11 @@ node = "/dev/nvidia-uvm-tools"; modifier = "rw"; } + + { + node = "/dev/dri/renderD128"; + modifier = "rw"; + } ]; config = { diff --git a/system/services/containers/traefik/default.nix b/system/services/containers/traefik/default.nix index 7af86c8..48b1fe3 100644 --- a/system/services/containers/traefik/default.nix +++ b/system/services/containers/traefik/default.nix @@ -8,8 +8,16 @@ config = lib.mkIf config.sysconfig.virtualization.traefik.enable { networking = { - hosts."192.168.100.11" = [ "esotericbytes.com" "*.esotericbytes.com" "traefik.local" ]; - firewall.allowedTCPPorts = [ 22 80 443]; + hosts."192.168.100.11" = [ + + "esotericbytes.com" + "*.esotericbytes.com" + + "esotericbytes.local" + "*.esotericbytes.local" + ]; + + firewall.allowedTCPPorts = [ 22 80 443 ]; nat.internalInterfaces = [ "ve-traefik" ]; }; @@ -156,13 +164,13 @@ "nextcloud_redirectregex" ]; }; - /*traefik = { + traefik = { entryPoints = [ "websecure" ]; - rule = "Host(`192.168.100.11`) || Host(`homebox.vpn`)"; + rule = "Host(`traefik.esotericbytes.local`)"; service = "api@internal"; tls.certResolver = "cloudflare"; #middlewares = [ "authentik" ]; - };*/ + }; /*ntfy = { entryPoints = [ "websecure" ]; rule = "Host(`ntfy.esotericbytes.com`)"; diff --git a/system/services/openvpn/default.nix b/system/services/openvpn/default.nix deleted file mode 100644 index e69de29..0000000 diff --git a/system/services/wireguard/default.nix b/system/services/wireguard/default.nix deleted file mode 100644 index c365b8e..0000000 --- a/system/services/wireguard/default.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ config, lib, ... }: { - - options = { - sysconfig.wireguard.enable = lib.options.mkOption { - type = lib.types.bool; - default = false; - }; - }; - - config = lib.mkIf config.sysconfig.wireguard.enable { - networking.wireguard = { - enable = true; - interfaces.wg0 = { - }; - }; - }; -} diff --git a/system/users/nathan/home-manager/dotfiles/hypr/main.conf b/system/users/nathan/home-manager/dotfiles/hypr/main.conf index 3aea5ba..7a37961 100644 --- a/system/users/nathan/home-manager/dotfiles/hypr/main.conf +++ b/system/users/nathan/home-manager/dotfiles/hypr/main.conf @@ -130,7 +130,7 @@ bind = $mainMod, V, togglefloating, bind = $mainMod SHIFT, V, exec, hyprrun vlc -bind = , Menu, exec, hyprrun rofi -show drun -show-icons -run-command 'hyprrun {cmd}' +bind = , Menu, exec, rofi -show drun -show-icons -run-command 'hyprrun {cmd}' bind = $mainMod, Menu, exec, hyprrun hyprpanel -q; hyprrun hyprpanel