chore: move some packages out of main home.nix
This commit is contained in:
parent
4f6d4cba4a
commit
a479e4633c
7 changed files with 63 additions and 10 deletions
16
home-manager/stvnliu/packages/discord.nix
Normal file
16
home-manager/stvnliu/packages/discord.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [vesktop];
|
||||
xdg.desktopEntries.discord = {
|
||||
exec = "${pkgs.vesktop}/bin/vesktop";
|
||||
terminal = false;
|
||||
mimeType = ["x-scheme-handler/discord"];
|
||||
name = "Discord - Vesktop";
|
||||
genericName = "Discord but substituted with Vesktop";
|
||||
type = "Application";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue