update zfs to not use file systems and add keep alive to lumiose in prep for networking

This commit is contained in:
2026-04-30 19:40:16 -05:00
parent 9c967dd96a
commit 1b1244d2db
2 changed files with 17 additions and 25 deletions
+15 -1
View File
@@ -13,7 +13,7 @@ in
../../nixos ../../nixos
../../../users/blake ../../../users/blake
../../../modules/system ../../../modules/system
#../../../modules/holocron ../../../modules/holocron_new
#../../../modules/homelab #../../../modules/homelab
#../../../modules/gameservers/minecraft_recpro #../../../modules/gameservers/minecraft_recpro
#../../../modules/gameservers/minecraft_modded #../../../modules/gameservers/minecraft_modded
@@ -32,7 +32,21 @@ in
enable = true; enable = true;
vendor = "amd"; vendor = "amd";
}; };
keepalive = {
enable = true;
url = "http://vaniville:7901/api/push/7DAcvsedwB?status=up&msg=OK&ping=";
};
}; };
holocron = {
syncthing.enable = false;
copyparty.enable = false;
ensure_perms.enable = false;
zfs.enable = true;
smb.enable = true;
nfs.enable = true;
};
# boot (systemd is going on me) # boot (systemd is going on me)
boot.loader.systemd-boot.enable = true; # systemd your pretty cool ya know boot.loader.systemd-boot.enable = true; # systemd your pretty cool ya know
@@ -22,8 +22,7 @@ in {
boot.kernelParams = [ "zfs.zfs_arc_max=12884901888" ]; boot.kernelParams = [ "zfs.zfs_arc_max=12884901888" ];
# pools to import # pools to import
#boot.zfs.extraPools = [ "holocron" "holocron/archives" "/holocron/media" "/holocron/users" ]; boot.zfs.extraPools = [ "holocron" ];
#boot.zfs.extraPools = [ "holocron" ];
# enable smart monitoring # enable smart monitoring
services.smartd = { services.smartd = {
@@ -51,28 +50,7 @@ in {
}; };
}; };
# install userspace tools for acl's # install userspace tools for smart
environment.systemPackages = with pkgs; [smartmontools]; environment.systemPackages = with pkgs; [smartmontools];
fileSystems."/holocron" = {
device = "holocron";
fsType = "zfs";
options = ["nofail"];
};
fileSystems."/holocron/archives" = {
device = "holocron/archives";
fsType = "zfs";
options = ["nofail"];
};
fileSystems."/holocron/users" = {
device = "holocron/users";
fsType = "zfs";
options = ["nofail"];
};
fileSystems."/holocron/media" = {
device = "holocron/media";
fsType = "zfs";
options = ["nofail"];
};
}; };
} }