Compare commits
3 commits
cfe75c1239
...
5601951859
Author | SHA1 | Date | |
---|---|---|---|
Evie Litherland-Smith | 5601951859 | ||
Evie Litherland-Smith | 87fc2a2db8 | ||
Evie Litherland-Smith | 7fc7335df5 |
|
@ -1,6 +1,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./services/adguardhome.nix
|
||||||
./services/caddy.nix
|
./services/caddy.nix
|
||||||
./services/forgejo.nix
|
./services/forgejo.nix
|
||||||
./services/grafana.nix
|
./services/grafana.nix
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
systemPackages = with pkgs; [ openfortivpn ];
|
systemPackages = with pkgs; [ openfortivpn ];
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
samba.enable = true;
|
|
||||||
hardware.bolt.enable = true;
|
hardware.bolt.enable = true;
|
||||||
|
samba.enable = true;
|
||||||
|
ollama.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,4 +25,5 @@
|
||||||
samba
|
samba
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
services.samba.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,10 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
hardware = {
|
hardware = {
|
||||||
amdgpu.initrd.enable = true;
|
amdgpu = {
|
||||||
|
initrd.enable = true;
|
||||||
|
opencl.enable = true;
|
||||||
|
};
|
||||||
opengl = {
|
opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
|
@ -78,4 +81,8 @@
|
||||||
capSysNice = true;
|
capSysNice = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
services.ollama = {
|
||||||
|
enable = true;
|
||||||
|
acceleration = "rocm";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
{
|
{ ... }:
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
{
|
||||||
services.adguardhome = {
|
services.adguardhome = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -39,7 +34,6 @@
|
||||||
querylog.ignored = [
|
querylog.ignored = [
|
||||||
"discovery.syncthing.net"
|
"discovery.syncthing.net"
|
||||||
"discovery-v6.syncthing.net"
|
"discovery-v6.syncthing.net"
|
||||||
"matrix.tchncs.de"
|
|
||||||
];
|
];
|
||||||
statistics = {
|
statistics = {
|
||||||
inherit (querylog) ignored;
|
inherit (querylog) ignored;
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [ steamcmd ];
|
|
||||||
networking.firewall.allowedTCPPorts = [ 8777 ];
|
|
||||||
services.caddy.virtualHosts."astro.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:8777";
|
|
||||||
}
|
|
|
@ -1,23 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
imports = [ ./caddy.nix ];
|
|
||||||
services.gitea = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
server = {
|
|
||||||
ROOT_URL = "https://git.xenia.me.uk";
|
|
||||||
DOMAIN = "git.xenia.me.uk";
|
|
||||||
HTTP_ADDR = "127.0.0.1";
|
|
||||||
HTTP_PORT = 3100;
|
|
||||||
DISABLE_SSH = true;
|
|
||||||
};
|
|
||||||
service.DISABLE_REGISTRATION = true;
|
|
||||||
ui = {
|
|
||||||
DEFAULT_THEME = "auto";
|
|
||||||
THEMES = "auto,gitea,arc-greenw,catppuccin-latte-rosewater,catppuccin-latte-flamingo,catppuccin-latte-pink,catppuccin-latte-mauve,catppuccin-latte-red,catppuccin-latte-maroon,catppuccin-latte-peach,catppuccin-latte-yellow,catppuccin-latte-green,catppuccin-latte-teal,catppuccin-latte-sky,catppuccin-latte-sapphire,catppuccin-latte-blue,catppuccin-latte-lavender,catppuccin-frappe-rosewater,catppuccin-frappe-flamingo,catppuccin-frappe-pink,catppuccin-frappe-mauve,catppuccin-frappe-red,catppuccin-frappe-maroon,catppuccin-frappe-peach,catppuccin-frappe-yellow,catppuccin-frappe-green,catppuccin-frappe-teal,catppuccin-frappe-sky,catppuccin-frappe-sapphire,catppuccin-frappe-blue,catppuccin-frappe-lavender,catppuccin-macchiato-rosewater,catppuccin-macchiato-flamingo,catppuccin-macchiato-pink,catppuccin-macchiato-mauve,catppuccin-macchiato-red,catppuccin-macchiato-maroon,catppuccin-macchiato-peach,catppuccin-macchiato-yellow,catppuccin-macchiato-green,catppuccin-macchiato-teal,catppuccin-macchiato-sky,catppuccin-macchiato-sapphire,catppuccin-macchiato-blue,catppuccin-macchiato-lavender,catppuccin-mocha-rosewater,catppuccin-mocha-flamingo,catppuccin-mocha-pink,catppuccin-mocha-mauve,catppuccin-mocha-red,catppuccin-mocha-maroon,catppuccin-mocha-peach,catppuccin-mocha-yellow,catppuccin-mocha-green,catppuccin-mocha-teal,catppuccin-mocha-sky,catppuccin-mocha-sapphire,catppuccin-mocha-blue,catppuccin-mocha-lavender";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
appName = "Gitea";
|
|
||||||
};
|
|
||||||
services.caddy.virtualHosts."git.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:3100";
|
|
||||||
}
|
|
Loading…
Reference in a new issue