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