initial commit

This commit is contained in:
2025-12-03 09:17:48 -05:00
commit 39733853c8
14 changed files with 410 additions and 0 deletions

15
modules/longhorn.nix Normal file
View File

@@ -0,0 +1,15 @@
{
config,
pkgs,
...
}: {
environment.systemPackages = [pkgs.nfs-utils];
services.openiscsi = {
enable = true;
name = "${config.networking.hostName}-initiatorhost";
};
# Fixes for longhorn path mapping
systemd.tmpfiles.rules = [
"L+ /usr/local/bin - - - - /run/current-system/sw/bin/"
];
}