[feat] Restructure the repo
This commit is contained in:
27
linux/default.nix
Normal file
27
linux/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ 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.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}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user