elucredassa: add missing dataset for backups from kalessin
This commit is contained in:
parent
d1b1e0f0ca
commit
1b66df659e
2 changed files with 17 additions and 0 deletions
16
hosts/kalessin/netbox.nix
Normal file
16
hosts/kalessin/netbox.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, lib, pkgs }:
|
||||
|
||||
{
|
||||
randomcat.services.zfs.datasets = {
|
||||
"rpool/state" = { mountpoint = "none"; };
|
||||
"rpool/state/netbox" = { mountpoint = "/var/lib/netbox"; };
|
||||
};
|
||||
|
||||
services.netbox = {
|
||||
enable = true;
|
||||
package = pkgs.netbox_4_1;
|
||||
port = 8001;
|
||||
dataDir = "/var/lib/netbox";
|
||||
secretKeyFile = ""; #
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue