mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-01-25 14:42:55 +00:00
addin ssh key
This commit is contained in:
23
modules/mnt-public copy.nix
Normal file
23
modules/mnt-public copy.nix
Normal 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"];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user