Compare commits
	
		
			2 Commits
		
	
	
		
			v0.2025.10
			...
			tasiaiso-n
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| d67e47ae4b | |||
| b43b8da9ab | 
| @@ -25,14 +25,14 @@ | |||||||
| }: | }: | ||||||
| pkgs.stdenv.mkDerivation rec { | pkgs.stdenv.mkDerivation rec { | ||||||
|   pname = "tildefriends"; |   pname = "tildefriends"; | ||||||
|   version = "0.0.27.1"; |   version = "0.0.28"; | ||||||
|  |  | ||||||
|   src = pkgs.fetchFromGitea { |   src = pkgs.fetchFromGitea { | ||||||
|     domain = "dev.tildefriends.net"; |     domain = "dev.tildefriends.net"; | ||||||
|     owner = "cory"; |     owner = "cory"; | ||||||
|     repo = "tildefriends"; |     repo = "tildefriends"; | ||||||
|     rev = "v${version}"; |     rev = "f02423d0846fefd5ab21fa4542fb77ce5714547c"; | ||||||
|     hash = "sha256-3t1m9ZomQF3DteWyALJWrnCq0EAROEK8shKXh6Ao38c="; |     hash = "sha256-QyM7wmViXJc4r8uTu4oE/HO3Z9tzNbFIX2+AOTQz9ZY="; | ||||||
|     fetchSubmodules = true; |     fetchSubmodules = true; | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										22
									
								
								flake.nix
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								flake.nix
									
									
									
									
									
								
							| @@ -35,5 +35,27 @@ | |||||||
|             graphviz |             graphviz | ||||||
|           ]; |           ]; | ||||||
|         }; |         }; | ||||||
|  |  | ||||||
|  |         nixosModules.default = { | ||||||
|  |           config, | ||||||
|  |           lib, | ||||||
|  |           ... | ||||||
|  |         }: let | ||||||
|  |           # Shorter name to access final settings a | ||||||
|  |           # user of hello.nix module HAS ACTUALLY SET. | ||||||
|  |           # cfg is a typical convention. | ||||||
|  |           cfg = config.services.tildefriends; | ||||||
|  |         in { | ||||||
|  |           options.services.tildefriends = { | ||||||
|  |             enable = lib.mkEnableOption "Enable Tilde Friends"; | ||||||
|  |           }; | ||||||
|  |  | ||||||
|  |           config = lib.mkIf cfg.enable { | ||||||
|  |             systemd.services.tildefriends = { | ||||||
|  |               wantedBy = ["multi-user.target"]; | ||||||
|  |               serviceConfig.ExecStart = "${pkgs.tildefriends}/bin/tildefriends"; | ||||||
|  |             }; | ||||||
|  |           }; | ||||||
|  |         }; | ||||||
|       }); |       }); | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user