Used agenix to manage secrets, 4 services up, ssh
This commit is contained in:
13
modules/nixos/filesystem/hoardingcow-mount.nix
Normal file
13
modules/nixos/filesystem/hoardingcow-mount.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ pkgs, lib, config, ... }: {
|
||||
|
||||
options = {
|
||||
hoardingcow-mount.enable = lib.mkEnableOption "enable hoardingcow acces";
|
||||
};
|
||||
config = lib.mkIf config.hoardingcow-mount.enable {
|
||||
fileSystems."/mnt/HoardingCow_docker_data" = {
|
||||
device = "192.168.1.2:/WorkHorse_docker_data";
|
||||
fsType = "nfs";
|
||||
options = [ "defaults" "nofail" "_netdev" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user