adding syncthing as a desktop service
This commit is contained in:
		
							parent
							
								
									ce80f145be
								
							
						
					
					
						commit
						2cb2759efc
					
				
					 3 changed files with 75 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -266,7 +266,31 @@ in
 | 
			
		|||
  # services.kdeconnect.enable = true;
 | 
			
		||||
 | 
			
		||||
  services = {
 | 
			
		||||
    syncthing.enable = true;
 | 
			
		||||
    syncthing = {
 | 
			
		||||
      enable = false;
 | 
			
		||||
      settings = {
 | 
			
		||||
        devices = {
 | 
			
		||||
          dalinar = {
 | 
			
		||||
            id = "MPRMA33-XHW6SRE-D2EDBCP-TSMRNGI-ZCE2TAN-FE4BMKA-PSKGYJW-CRIEJQL";
 | 
			
		||||
          };
 | 
			
		||||
        };
 | 
			
		||||
        folders = {
 | 
			
		||||
          "~/docs" = {
 | 
			
		||||
            id = "docs";
 | 
			
		||||
            devices = [ "dalinar" ];
 | 
			
		||||
            versioning = {
 | 
			
		||||
              type = "staggered";
 | 
			
		||||
              fsPath = "~/.local/syncthing/backup";
 | 
			
		||||
              params = {
 | 
			
		||||
                cleanInterval = 3600;
 | 
			
		||||
                maxAge = 31536000;
 | 
			
		||||
              };
 | 
			
		||||
            };
 | 
			
		||||
          };
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
      tray = true;
 | 
			
		||||
    };
 | 
			
		||||
    easyeffects.enable = true;
 | 
			
		||||
    nextcloud-client = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue