addin ssh key

This commit is contained in:
2023-11-21 22:33:13 +00:00
parent 33f1f7de2b
commit 63d374619a
2 changed files with 23 additions and 16 deletions

View File

@@ -0,0 +1,23 @@
{
lib,
pkgs,
config,
inputs,
...
}: {
services.openiscsi = {
enable = true;
name = "iqn.2013-03.com.wdc:mycloudpr2100:clusterstore";
enableAutoLoginOut = true;
discoverPortal = "192.168.1.109";
package = pkgs.openiscsi;
};
fileSystems."/mnt/ClusterStore" = {
device = "/dev/sda1";
fsType = "ext4";
# options = ["uid=0,gid=1000"];
options = ["_netdev" "uid=1000"];
};
}