hosts/satori: mount drives under /media from now on
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -19,14 +19,14 @@
 | 
				
			|||||||
      fsType = "vfat";
 | 
					      fsType = "vfat";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fileSystems."/mnt/ntfs" =
 | 
					  fileSystems."/media/ntfs" =
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      device = "/dev/disk/by-uuid/A4CC66B6CC668282";
 | 
					      device = "/dev/disk/by-uuid/A4CC66B6CC668282";
 | 
				
			||||||
      fsType = "ntfs";
 | 
					      fsType = "ntfs";
 | 
				
			||||||
      options = [ "uid=natto" "gid=users" "umask=0022" "rw" ];
 | 
					      options = [ "uid=natto" "gid=users" "umask=0022" "rw" ];
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fileSystems."/mnt/real" =
 | 
					  fileSystems."/media/real" =
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      device = "/dev/disk/by-uuid/6372bc0c-0917-469d-a845-2ce65513e306";
 | 
					      device = "/dev/disk/by-uuid/6372bc0c-0917-469d-a845-2ce65513e306";
 | 
				
			||||||
      fsType = "ext4";
 | 
					      fsType = "ext4";
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,6 +12,16 @@
 | 
				
			|||||||
      allowedUDPPorts = [ 22 17840 18172 ];
 | 
					      allowedUDPPorts = [ 22 17840 18172 ];
 | 
				
			||||||
      trustedInterfaces = [ "docker0" ];
 | 
					      trustedInterfaces = [ "docker0" ];
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					    interfaces = {
 | 
				
			||||||
 | 
					      enp7s0 = {
 | 
				
			||||||
 | 
					        useDHCP = true;
 | 
				
			||||||
 | 
					        ipv4.addresses = [{
 | 
				
			||||||
 | 
					          prefixLength = 24;
 | 
				
			||||||
 | 
					          address = "192.168.1.109";
 | 
				
			||||||
 | 
					        }];
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    wireguard.interfaces.wg0 = {
 | 
					    wireguard.interfaces.wg0 = {
 | 
				
			||||||
      ips = [ "10.55.0.3/32" ];
 | 
					      ips = [ "10.55.0.3/32" ];
 | 
				
			||||||
      listenPort = 17840;
 | 
					      listenPort = 17840;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,6 +14,7 @@
 | 
				
			|||||||
      ACTION=="add|change", KERNEL=="sda", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"
 | 
					      ACTION=="add|change", KERNEL=="sda", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"
 | 
				
			||||||
    '';
 | 
					    '';
 | 
				
			||||||
    zfs.autoScrub.enable = true;
 | 
					    zfs.autoScrub.enable = true;
 | 
				
			||||||
 | 
					    gvfs.enable = true;
 | 
				
			||||||
    logind.extraConfig = "RuntimeDirectorySize=30%";
 | 
					    logind.extraConfig = "RuntimeDirectorySize=30%";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
  systemd.services.tor.wantedBy = lib.mkForce [ ];
 | 
					  systemd.services.tor.wantedBy = lib.mkForce [ ];
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user