Files
dotfiles/linux/default.nix
2024-03-14 03:05:12 +05:30

29 lines
707 B
Nix

{ pkgs, device, nur, inputs, ... }: {
imports = [
../common/firefox.nix
../linux/hyprland.nix
../linux/gtk.nix
../linux/anyrun.nix
../linux/ironbar
../linux/foot.nix
];
services.kdeconnect.enable = true;
services.kdeconnect.indicator = true;
services.swayosd.enable = true;
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}";
};
};
}