18 lines
268 B
Nix
18 lines
268 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
discord_wrapped = pkgs.writeShellScriptBin "discord" ''
|
|
#!${pkgs.runtimeShell}
|
|
exec "${pkgs.discord}/bin/discord" "$@" >/dev/null 2>&1
|
|
'';
|
|
in
|
|
{
|
|
home = {
|
|
packages = with pkgs; [
|
|
discord_wrapped
|
|
spotify
|
|
];
|
|
};
|
|
}
|