24 lines
586 B
Nix
24 lines
586 B
Nix
{ pkgs, device, nur, ... }: {
|
|
imports = [
|
|
../common/firefox.nix
|
|
../linux/hyprland.nix
|
|
../linux/gtk.nix
|
|
../linux/anyrun.nix
|
|
../linux/ironbar
|
|
../linux/foot.nix
|
|
];
|
|
systemd.user.services.spotify-player = {
|
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
|
Unit = {
|
|
Description = "Spotify Player Daemon";
|
|
After = [ "graphical-session.target" ];
|
|
};
|
|
Service = {
|
|
ExecStart = "${pkgs.spotify-player}/bin/spotify_player -d";
|
|
Restart = "on-failure";
|
|
RestartSec = "5";
|
|
User = "${device.user}";
|
|
};
|
|
};
|
|
}
|