mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-02-23 06:43:57 +01:00
fixed ip option
This commit is contained in:
parent
ef42c9577a
commit
42b26b7f9f
|
@ -1,6 +1,22 @@
|
|||
{config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
|
||||
ip = config.homelab-dashboard.defaultAddress;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
homelab-dashboard.defaultAddress = mkOption { type = types.str; };
|
||||
homelab-dashboard.proxmoxVEIp = mkOption { type = types.str; };
|
||||
homelab-dashboard.proxmoxBSIp = mkOption { type = types.str; };
|
||||
};
|
||||
config = {
|
||||
services.homepage-dashboard = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -104,18 +120,19 @@
|
|||
"Administration" = [
|
||||
{
|
||||
"Proxmox Backup Server" = {
|
||||
description = "Permet de sauvegarder le serveur."
|
||||
description = "Permet de sauvegarder le serveur.";
|
||||
};
|
||||
|
||||
}
|
||||
{
|
||||
|
||||
"Proxmox VE" = {};
|
||||
"Proxmox VE" = { };
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue