Fix for radicale file
This commit is contained in:
		
							parent
							
								
									b1bdee6fd4
								
							
						
					
					
						commit
						63d8d1ceb9
					
				@ -44,6 +44,11 @@ in
 | 
				
			|||||||
    recursive = true;
 | 
					    recursive = true;
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # Copy radicale pass file
 | 
				
			||||||
 | 
					  home.file."${config.xdg}/radicale" = {
 | 
				
			||||||
 | 
					    source = ../luci/modules/radicale/rad_pass;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  home.sessionVariables = {
 | 
					  home.sessionVariables = {
 | 
				
			||||||
    EDITOR = "hx";
 | 
					    EDITOR = "hx";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
				
			|||||||
@ -159,16 +159,11 @@ in
 | 
				
			|||||||
      };
 | 
					      };
 | 
				
			||||||
      auth = {
 | 
					      auth = {
 | 
				
			||||||
        type = "htpasswd";
 | 
					        type = "htpasswd";
 | 
				
			||||||
        htpasswd_filename = "${config.xdg.configHome}/radicale/rad_pass";
 | 
					        htpasswd_filename = "/home/luci/.config/radicale/rad_pass";
 | 
				
			||||||
        htpasswd_encryption = "bcrypt";
 | 
					        htpasswd_encryption = "bcrypt";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Copy radicale pass file
 | 
					 | 
				
			||||||
    home.file."${config.xdg.configHome}/radicale" = lib.mkIf srvConfig.caldavEnable {
 | 
					 | 
				
			||||||
      source = ../luci/modules/radicale/rad_pass;
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    systemd.timers."pixel-backups" = {
 | 
					    systemd.timers."pixel-backups" = {
 | 
				
			||||||
      wantedBy = [ "timers.target" ];
 | 
					      wantedBy = [ "timers.target" ];
 | 
				
			||||||
        timerConfig = {
 | 
					        timerConfig = {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user