[feat] Restructure the repo

This commit is contained in:
uttarayan21
2024-03-13 23:04:54 +05:30
parent f5bcff9c73
commit 6961bb2733
125 changed files with 0 additions and 5411 deletions

27
linux/default.nix Normal file
View 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}";
};
};
}