move the launch scripts of discord and spotify

This commit is contained in:
Noa Aarts 2024-03-01 16:34:21 +01:00
parent 1d13143751
commit 9896e01617
3 changed files with 35 additions and 21 deletions

15
common/spotify.nix Normal file
View file

@ -0,0 +1,15 @@
{ config, pkgs, inputs, ... }:
{
home.packages = with pkgs; [
(symlinkJoin {
name = "spotify";
paths = [
(writeShellScriptBin "spotify" ''
exec ${spotify}/bin/spotify --enable-features=UseOzonePlatform --ozone-platform=wayland
'')
spotify
];
})
];
}