diff --git a/hosts/modules/server/cloudflare-dyndns.nix b/hosts/modules/server/cloudflare-dyndns.nix index 230fa04..40cc75b 100644 --- a/hosts/modules/server/cloudflare-dyndns.nix +++ b/hosts/modules/server/cloudflare-dyndns.nix @@ -9,6 +9,7 @@ "anotherhadi.com" "www.anotherhadi.com" "ntfy.anotherhadi.com" + "home.anotherhadi.com" ]; proxied = true; apiTokenFile = "/etc/cloudflare/apiToken"; diff --git a/hosts/modules/server/homepage/default.nix b/hosts/modules/server/homepage/default.nix index e1879ed..7297ad1 100644 --- a/hosts/modules/server/homepage/default.nix +++ b/hosts/modules/server/homepage/default.nix @@ -2,25 +2,11 @@ let bookmarks = '' Bookmarks: [ - {text: "MyNixOs", url: "https://mynixos.com", icon: "󱄅"}, - {text: "Github", url: "https://github.com", icon: ""}, - {text: "Proton", url: "https://mail.proton.me/u/0/inbox", icon: ""}, - {text: "Cloudflare One", url: "https://one.dash.cloudflare.com/", icon: ""}, - {text: "Chat GPT", url: "https://chat.openai.com/", icon: "󰭹"}, - {text: "Nixvim", url: "https://nix-community.github.io/nixvim/", icon: ""}, - {text: "Hyprland Wiki", url: "https://wiki.hyprland.org/", icon: "󰖬"}, - {text: "Nerdfont", url: "https://www.nerdfonts.com/cheat-sheet", icon: ""}, - {text: "Youtube", url: "https://youtube.com", icon: "󰗃"}, + {text: "Outlook", url: "https://outlook.office.com/mail/", icon: "󰴢"}, ], Home: [ - {text: "Casa", url: "http://192.168.2.16:8081/#/", icon: "󰋜"}, - {text: "Plex", url: "http://192.168.2.16:32400", icon: "󰚺"}, - {text: "Nextcloud", url: "http://192.168.2.16:10081", icon: ""}, ], Work: [ - {text: "Outlook", url: "https://outlook.office.com/mail/", icon: "󰴢"}, - {text: "Office", url: "https://www.office.com/?auth=2", icon: "󰏆"}, - {text: "Teams", url: "https://teams.microsoft.com/_", icon: "󰊻"}, ], ''; in { diff --git a/hosts/modules/server/nginx.nix b/hosts/modules/server/nginx.nix index cfdff0e..e6c5e5c 100644 --- a/hosts/modules/server/nginx.nix +++ b/hosts/modules/server/nginx.nix @@ -10,6 +10,21 @@ # test services.nginx.virtualHosts."anotherhadi.com" = { serverAliases = [ "www.anotherhadi.com" ]; - root = "/var/www/default"; + root = "/etc/www/home"; + }; + + environment.etc = { + "www/home" = { + text = '' + + + Another Hadi + + +

Another Hadi

+ + + ''; + }; }; }