rename file share to holocron

This commit is contained in:
2025-10-14 10:25:03 -05:00
parent 182cab6bf3
commit a3e8019878
8 changed files with 36 additions and 45 deletions

View File

@@ -6,13 +6,13 @@
}:
# define nfs exports
let
cfg = config.fileshare.nfs;
cfg = config.holocron.nfs;
nfs_exports = ''
/holocron/media *(ro,sync,no_subtree_check)
'';
#/holocron/vault *(rw,sync,no_subtree_check,no_root_squash)
in {
options.fileshare.nfs = {
options.holocron.nfs = {
enable = lib.mkEnableOption "enables nfs";
};

View File

@@ -6,7 +6,7 @@
}:
# define smb shares
let
cfg = config.fileshare.smb;
cfg = config.holocron.smb;
smb_shares = {
vault = {
path = "/holocron/vault";
@@ -22,7 +22,7 @@ let
};
};
in {
options.fileshare.smb = {
options.holocron.smb = {
enable = lib.mkEnableOption "enables smb";
};

View File

@@ -4,9 +4,9 @@
lib,
...
}: let
cfg = config.fileshare.zfs;
cfg = config.holocron.zfs;
in {
options.fileshare.zfs = {
options.holocron.zfs = {
enable = lib.mkEnableOption "enables zfs";
};

View File

@@ -41,7 +41,7 @@ in
# the order determines the order in glance :3
imports = [
./fileshare
./glance
./caddy
./home/zigbee2mqtt
./vaultwarden
@@ -59,7 +59,6 @@ in
./arr/flaresolverr
./home/mosquitto
./uptime-kuma
./glance
];
config = lib.mkIf cfg.enable {

View File

@@ -148,7 +148,7 @@ in
};
# install borg binary
environment.systemPackages = [ pkgs.borgbackup ];
environment.systemPackages = with pkgs; [ borgbackup ];
# declare secret for repo password
sops.secrets = {