commit | 71918f08c198059ba36affd8a1fced08ce4b050e | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Wed Jul 27 13:42:17 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Wed Jul 27 13:42:17 2022 +0100 |
tree | c9e8d5fd6decfd3a033c68e33ba04c7a33b50e3f | |
parent | 89867bc36110c45f8f495a9c19dab73f4907f913 [diff] |
Add a nextcloud hostName
diff --git a/src/apps/system/nextcloud.nix b/src/apps/system/nextcloud.nix index e973545..01daa48 100644 --- a/src/apps/system/nextcloud.nix +++ b/src/apps/system/nextcloud.nix
@@ -1,3 +1,10 @@ { pkgs, ... }: { - services.nextcloud.enable = true; + services.nextcloud = { + enable = true; + hostName = "nextcloud.python.local"; + }; + + networking.hosts = { + "127.0.0.1" = [ "nextcloud.python.local" ]; + }; }