diff --git a/hosts/dadarwin/configuration.nix b/hosts/dadarwin/configuration.nix index 4a03334..c115e4d 100644 --- a/hosts/dadarwin/configuration.nix +++ b/hosts/dadarwin/configuration.nix @@ -5,7 +5,8 @@ builtins.elem (lib.getName pkg) [ "terraform" ]; - + # List packages installed in system profile. To search by name, run: + # $ nix-env -qaP | grep wget environment.systemPackages = with pkgs; [ neovim kitty @@ -15,7 +16,6 @@ direnv zoxide git-crypt - nil ]; programs.direnv = { diff --git a/hosts/sisyphe/features/multimedia/sabnzbd.nix b/hosts/sisyphe/features/multimedia/sabnzbd.nix index 75a85d3..7b578e4 100644 --- a/hosts/sisyphe/features/multimedia/sabnzbd.nix +++ b/hosts/sisyphe/features/multimedia/sabnzbd.nix @@ -9,16 +9,14 @@ reverse_proxy 8080 ''; - /* - services.prometheus.exporters.sabnzbd = { - enable = true; - servers = [ - { - sisyphe = { + services.prometheus.exporters.sabnzbd = { + enable = true; + servers = [ + { + sisyphe = { - }; - } - ]; - }; - */ + }; + } + ]; + }; } diff --git a/hosts/sisyphe/features/services/grafana.nix b/hosts/sisyphe/features/services/grafana.nix index 39afd7c..d7b2f72 100644 --- a/hosts/sisyphe/features/services/grafana.nix +++ b/hosts/sisyphe/features/services/grafana.nix @@ -1,4 +1,4 @@ -{ ... }: +{ config, ... }: { services.grafana = { enable = true; @@ -10,6 +10,6 @@ }; services.caddy.virtualHosts."http://grafana.sisyphe.normandy.hypervirtual.world".extraConfig = '' - reverse_proxy :3000 - ''; + reverse_proxy :3000 + ''; } diff --git a/hosts/sisyphe/features/services/homelab-dashboard.nix b/hosts/sisyphe/features/services/homelab-dashboard.nix index 8f83abe..c810a46 100644 --- a/hosts/sisyphe/features/services/homelab-dashboard.nix +++ b/hosts/sisyphe/features/services/homelab-dashboard.nix @@ -84,45 +84,12 @@ in } ]; - bookmarks = [ - { - social = [ - { - "Bluesky" = [ - { - abbr = "bsky"; - href = "https://bsky.app"; - } - ]; - } - { - "mastodon" = [ - { href = "https://fish.hypervirtual.world"; } - ]; - } - { - "Lemmy" = [ - { href = "https://lemmy.world"; } - ]; - } - ]; - } - { - code = [ - { "Github" = [ { href = "https://github.com"; } ]; } - ]; - } - { - music = [ - { "Deezer" = [ { href = "https://deezer.com"; } ]; } - { "Last.fm" = [ { href = "https://last.fm"; } ]; } - ]; - } - ]; + bookmarks = [ { code = [ { "Github" = [ { href = "https://github.com"; } ]; } ]; } ]; services = [ { "Divertissement" = [ + { "Serveur Minecraft poulet" = { icon = "minecraft"; @@ -269,6 +236,7 @@ in }; } { + "Transmission" = { icon = "transmission"; description = "s'occupe du téléchargement des fichiers"; @@ -310,6 +278,15 @@ in } { "Administration" = [ + /* + { + "Proxmox Backup Server" = { + icon = "proxmox-light"; + description = "Permet de sauvegarder le serveur."; + href = "https://${cfg.proxmoxBSIp}:8007"; + }; + } + */ { "Proxmox VE" = { icon = "proxmox"; diff --git a/hosts/sisyphe/features/services/uptime-kuma.nix b/hosts/sisyphe/features/services/uptime-kuma.nix index 4f566e6..2ed8136 100644 --- a/hosts/sisyphe/features/services/uptime-kuma.nix +++ b/hosts/sisyphe/features/services/uptime-kuma.nix @@ -9,11 +9,12 @@ }; services.caddy.virtualHosts."http://status.hypervirtual.world".extraConfig = '' - reverse_proxy :4000 - ''; - + reverse_proxy :4000 + ''; + services.caddy.virtualHosts."http://uptime.sisyphe.normandy.hypervirtual.world".extraConfig = '' - reverse_proxy :4000 - ''; - + reverse_proxy :4000 + ''; + + } diff --git a/shared/default.nix b/shared/default.nix index 26a9e5a..10e551f 100644 --- a/shared/default.nix +++ b/shared/default.nix @@ -6,6 +6,10 @@ ... }: { + imports = [ + ../shared + ]; + environment.systemPackages = [ inputs.miovim.packages.${system}.default pkgs.curl