diff --git a/hosts/server/default.nix b/hosts/server/default.nix index 13519c1..425956d 100644 --- a/hosts/server/default.nix +++ b/hosts/server/default.nix @@ -9,5 +9,7 @@ ../../modules/programs ../../modules/system ../../modules/services + ../../modules/services/invidious + ../../modules/services/forgejo ]; } diff --git a/modules/services/default.nix b/modules/services/default.nix index 252d301..d756db1 100644 --- a/modules/services/default.nix +++ b/modules/services/default.nix @@ -6,8 +6,6 @@ ./polkit ./syncthing ./docker - ./invidious - ./forgejo ./ssh ./misc ]; diff --git a/modules/services/forgejo/default.nix b/modules/services/forgejo/default.nix index 9f91b23..3720d58 100644 --- a/modules/services/forgejo/default.nix +++ b/modules/services/forgejo/default.nix @@ -1,4 +1,6 @@ { services.forgejo.enable = true; services.forgejo.settings.server.HTTP_PORT = 2000; + services.forgejo.settings.server.DOMAIN = "git.joygnu.org"; + services.forgejo.settings.server.PROTOCOL = "https"; } diff --git a/modules/services/invidious/default.nix b/modules/services/invidious/default.nix index 7de1f3d..43f268b 100644 --- a/modules/services/invidious/default.nix +++ b/modules/services/invidious/default.nix @@ -8,8 +8,8 @@ }; }; }; - # services.invidious.domain = "yt.joygnu.org"; - # services.invidious.nginx.enable = true; - # security.acme.defaults.email = "mail@joygnu.org"; - # security.acme.acceptTerms = true; + services.invidious.domain = "yt.joygnu.org"; + services.invidious.nginx.enable = true; + security.acme.defaults.email = "mail@joygnu.org"; + security.acme.acceptTerms = true; } diff --git a/modules/system/networking/default.nix b/modules/system/networking/default.nix index 0169bec..e3b59c4 100644 --- a/modules/system/networking/default.nix +++ b/modules/system/networking/default.nix @@ -1,4 +1,5 @@ { networking.networkmanager.enable = true; networking.firewall.enable = false; + networking.nameservers = ["9.9.9.9"]; }