Compare commits
No commits in common. "66183183701b262b52471fd2de74e29b8e643fc7" and "42768ab36e08099075d920f4e20ad0663f280221" have entirely different histories.
6618318370
...
42768ab36e
|
@ -14,7 +14,6 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./users/users.nix
|
./users/users.nix
|
||||||
./services/gitea.nix
|
./services/gitea.nix
|
||||||
./services/duckddns.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
@ -29,12 +28,6 @@
|
||||||
"nixpkgs=${pkgs.path}"
|
"nixpkgs=${pkgs.path}"
|
||||||
];
|
];
|
||||||
|
|
||||||
# ACME
|
|
||||||
security.acme = {
|
|
||||||
acceptTerms = true;
|
|
||||||
defaults.email = "sky.hearn@pm.me";
|
|
||||||
};
|
|
||||||
|
|
||||||
# wireguard server setup
|
# wireguard server setup
|
||||||
# enable NAT
|
# enable NAT
|
||||||
networking.nat.enable = true;
|
networking.nat.enable = true;
|
||||||
|
@ -101,9 +94,7 @@
|
||||||
virtualisation.podman.defaultNetwork.settings.dns_enabled = true;
|
virtualisation.podman.defaultNetwork.settings.dns_enabled = true;
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.bash
|
|
||||||
pkgs.wget
|
pkgs.wget
|
||||||
pkgs.curl
|
|
||||||
pkgs.vim
|
pkgs.vim
|
||||||
|
|
||||||
pkgs.arion
|
pkgs.arion
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
{pkgs, ...}:
|
|
||||||
{
|
|
||||||
systemd.timers."duckddns" = {
|
|
||||||
wantedBy = [ "timers.target" ];
|
|
||||||
timerConfig = {
|
|
||||||
OnBootSec = "5m";
|
|
||||||
OnUnitActiveSec = "5m";
|
|
||||||
Unit = "duckddns.service";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.services."duckddns"= {
|
|
||||||
# hiding my token hehe
|
|
||||||
script = ''
|
|
||||||
bash /home/sky/duckddns.sh
|
|
||||||
'';
|
|
||||||
serviceConfig = {
|
|
||||||
Type = "oneshot";
|
|
||||||
User = "root";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
services.nginx.virtualHosts."git.skymath.duckdns.org" = {
|
services.nginx.virtualHosts."git.my-domain.tld" = {
|
||||||
enableACME = true;
|
enableACME = false;
|
||||||
forceSSL = true;
|
forceSSL = false;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:3001/";
|
proxyPass = "http://localhost:3001/";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue