mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-11 08:00:18 +02:00
fixed ip option
This commit is contained in:
parent
ef42c9577a
commit
42b26b7f9f
1 changed files with 133 additions and 116 deletions
|
@ -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 = {
|
services.homepage-dashboard = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -104,18 +120,19 @@
|
||||||
"Administration" = [
|
"Administration" = [
|
||||||
{
|
{
|
||||||
"Proxmox Backup Server" = {
|
"Proxmox Backup Server" = {
|
||||||
description = "Permet de sauvegarder le serveur."
|
description = "Permet de sauvegarder le serveur.";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
||||||
"Proxmox VE" = {};
|
"Proxmox VE" = { };
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue