Compare commits
	
		
			No commits in common. "af3984498ccdf2af36227865c05d079d46d6e3c3" and "d3798b201aca4eb129a23b87a7c7ab745c00a16a" have entirely different histories.
		
	
	
		
			af3984498c
			...
			d3798b201a
		
	
		
| @ -47,7 +47,6 @@ | ||||
|     users.users.mixer = { | ||||
|       isNormalUser = true; | ||||
|       group = "mixer"; | ||||
|       linger = true; | ||||
|       extraGroups = [ "systemd-journal" ]; | ||||
|       openssh.authorizedKeys.keys = [ | ||||
|         "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKKxoQSxfYqf9ITN8Fhckk8WbY4dwtBAXOhC9jxihJvq jan@bulthuis.dev" | ||||
|  | ||||
| @ -22,20 +22,19 @@ in | ||||
|     users.groups.mixer = { }; | ||||
| 
 | ||||
|     # Spotifyd service | ||||
|     systemd.user.services.spotifyd = { | ||||
|       description = "SpotifyD Service"; | ||||
|       wantedBy = [ "default.target" ]; | ||||
|     systemd.services.spotifyd = { | ||||
|       description = "Spotifyd Service"; | ||||
|       wantedBy = [ "multi-user.target" ]; | ||||
|       after = [ | ||||
|         "network.target" | ||||
|         "sound.target" | ||||
|       ]; | ||||
|       unitConfig = { | ||||
|         ConditionUser = "mixer"; # TODO: Allow user configuration | ||||
|       }; | ||||
|       serviceConfig = { | ||||
|         ExecStart = "${pkgs.spotifyd}/bin/spotifyd --no-daemon --config-path /etc/spotifyd/spotifyd.conf"; | ||||
|         Restart = "always"; | ||||
|         RestartSec = 5; | ||||
|         User = "mixer"; | ||||
|         Group = "mixer"; | ||||
|       }; | ||||
|     }; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user