Compare commits
6 Commits
b8038a30c8
...
0c05ceb40d
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c05ceb40d | |||
| 66a424d2c4 | |||
| e0dfd08f24 | |||
| 5c70acaecd | |||
| 58031f3896 | |||
| 9f898180bf |
@@ -79,8 +79,10 @@
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver = {
|
||||
xkb = {
|
||||
layout = "us";
|
||||
xkbVariant = "";
|
||||
variant = "";
|
||||
};
|
||||
};
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
|
||||
@@ -68,7 +68,7 @@ let
|
||||
partOf = ["headscale.service"];
|
||||
|
||||
script = ''
|
||||
${cfg.package}/bin/headscale users create ${name}
|
||||
${pkgs.bash}/bin/bash -c '${cfg.package}/bin/headscale users create ${name} || true'
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
nixpkgs.config.nvidia.acceptLicense = true;
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.opengl.enable = true;
|
||||
hardware.graphics.enable = true;
|
||||
|
||||
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
|
||||
|
||||
@@ -13,15 +13,15 @@
|
||||
# ./private/grafana.nix
|
||||
|
||||
# Home Monitoring and Control
|
||||
./private/homeassistant.nix
|
||||
# ./private/homeassistant.nix
|
||||
|
||||
# Minio S3 Object Storage
|
||||
./private/miniio.nix
|
||||
|
||||
# OctoPrint
|
||||
./private/octoprint.nix
|
||||
# ./private/octoprint.nix
|
||||
|
||||
# Samba Share
|
||||
./private/samba.nix
|
||||
# ./private/samba.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -6,9 +6,6 @@
|
||||
# Entrace to Control Pane of Private Network
|
||||
./public/headscale.nix
|
||||
|
||||
# Location tracking of my Dad in Saskatchewan
|
||||
./public/hauk.nix
|
||||
|
||||
# Self Hosted Git Server
|
||||
./public/gitea.nix
|
||||
|
||||
@@ -47,5 +44,8 @@
|
||||
|
||||
# Recipe Manager
|
||||
./public/tandoor.nix
|
||||
|
||||
# Random Usage, specific port
|
||||
./public/random.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ in {
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
port = 5432;
|
||||
settings.port = 5432;
|
||||
ensureDatabases = [
|
||||
"gitea"
|
||||
];
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{pkgs, config, ...}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../oci/hauk.nix
|
||||
];
|
||||
services.caddy.virtualHosts = {
|
||||
"crompton.cc" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy 127.0.0.1:7888
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -23,7 +23,7 @@
|
||||
];
|
||||
|
||||
# Give a name to each device
|
||||
dns_config = {
|
||||
dns = {
|
||||
base_domain = "tailnet";
|
||||
magic_dns = true;
|
||||
};
|
||||
|
||||
@@ -13,9 +13,9 @@ in {
|
||||
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud28;
|
||||
package = pkgs.nextcloud29;
|
||||
hostName = "localhost";
|
||||
extraOptions = {
|
||||
settings = {
|
||||
trusted_domains = [
|
||||
"cloud.crompton.cc"
|
||||
"nextcloud.syzygial.cc"
|
||||
@@ -76,7 +76,7 @@ in {
|
||||
shell = pkgs.bashInteractive;
|
||||
packages = with pkgs; [
|
||||
# generate video thumbnails with preview generator
|
||||
ffmpeg_5-headless
|
||||
ffmpeg_7-headless
|
||||
# required for recognize app
|
||||
nodejs_20 # runtime and installation requirement
|
||||
nodejs_20.pkgs.node-pre-gyp # installation requirement
|
||||
@@ -99,7 +99,7 @@ in {
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
port = 5432;
|
||||
settings.port = 5432;
|
||||
ensureDatabases = [
|
||||
"nextcloud"
|
||||
];
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
port = 5432;
|
||||
settings.port = 5432;
|
||||
ensureDatabases = [
|
||||
"onlyoffice"
|
||||
];
|
||||
|
||||
@@ -52,11 +52,17 @@
|
||||
};
|
||||
services.caddy.virtualHosts = {
|
||||
"games.syzygial.cc:443" = {
|
||||
serverAliases = [
|
||||
"games.crompton.cc:443"
|
||||
];
|
||||
extraConfig = ''
|
||||
reverse_proxy 10.1.0.1:80
|
||||
'';
|
||||
};
|
||||
"games.syzygial.cc:9000" = {
|
||||
serverAliases = [
|
||||
"games.crompton.cc:9000"
|
||||
];
|
||||
extraConfig = ''
|
||||
reverse_proxy 10.1.0.1:9000
|
||||
'';
|
||||
|
||||
9
machines/hippocampus/servers/public/random.nix
Normal file
9
machines/hippocampus/servers/public/random.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ config, pkgs, lib, ... }: {
|
||||
services.caddy.virtualHosts = {
|
||||
"pitch.syzygial.cc" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy 127.0.0.1:7123
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -10,5 +10,12 @@
|
||||
}
|
||||
'';
|
||||
};
|
||||
"crompton.cc" = {
|
||||
extraConfig = ''
|
||||
file_server {
|
||||
root /srv/www/crompton
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ in {
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
port = 5432;
|
||||
settings.port = 5432;
|
||||
ensureDatabases = [
|
||||
tandoor_user
|
||||
];
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
};
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
port = 5432;
|
||||
settings.port = 5432;
|
||||
ensureDatabases = [
|
||||
"vaultwarden"
|
||||
];
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./services/tailscale.nix
|
||||
./services/dyndns.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
sops.secrets.ddclient = {};
|
||||
services.ddclient = {
|
||||
enable = true;
|
||||
use = "web, web=dynamicdns.park-your-domain.com/getip";
|
||||
usev4 = "web, web=dynamicdns.park-your-domain.com/getip";
|
||||
protocol = "namecheap";
|
||||
server = "dynamicdns.park-your-domain.com";
|
||||
username = "crompton.cc";
|
||||
|
||||
Reference in New Issue
Block a user