Compare commits
No commits in common. "5601951859572bcb2c504481183d35ebb6270bab" and "cfe75c123987eb41840dde111e9559aa46a441c7" have entirely different histories.
5601951859
...
cfe75c1239
|
@ -1,7 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./services/adguardhome.nix
|
||||
./services/caddy.nix
|
||||
./services/forgejo.nix
|
||||
./services/grafana.nix
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
systemPackages = with pkgs; [ openfortivpn ];
|
||||
};
|
||||
services = {
|
||||
hardware.bolt.enable = true;
|
||||
samba.enable = true;
|
||||
ollama.enable = true;
|
||||
hardware.bolt.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -25,5 +25,4 @@
|
|||
samba
|
||||
];
|
||||
};
|
||||
services.samba.enable = true;
|
||||
}
|
||||
|
|
|
@ -58,10 +58,7 @@
|
|||
'';
|
||||
};
|
||||
hardware = {
|
||||
amdgpu = {
|
||||
initrd.enable = true;
|
||||
opencl.enable = true;
|
||||
};
|
||||
amdgpu.initrd.enable = true;
|
||||
opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
|
@ -81,8 +78,4 @@
|
|||
capSysNice = true;
|
||||
};
|
||||
};
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "rocm";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.adguardhome = {
|
||||
enable = true;
|
||||
|
@ -34,6 +39,7 @@
|
|||
querylog.ignored = [
|
||||
"discovery.syncthing.net"
|
||||
"discovery-v6.syncthing.net"
|
||||
"matrix.tchncs.de"
|
||||
];
|
||||
statistics = {
|
||||
inherit (querylog) ignored;
|
||||
|
|
6
system/services/astroneer.nix
Normal file
6
system/services/astroneer.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ steamcmd ];
|
||||
networking.firewall.allowedTCPPorts = [ 8777 ];
|
||||
services.caddy.virtualHosts."astro.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:8777";
|
||||
}
|
23
system/services/gitea.nix
Normal file
23
system/services/gitea.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ ... }:
|
||||
{
|
||||
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