update to use vesktop instead
This commit is contained in:
parent
51582360ad
commit
6443bb3477
4 changed files with 34 additions and 15 deletions
|
|
@ -1,14 +0,0 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
(symlinkJoin {
|
||||
name = "discord";
|
||||
paths = [
|
||||
(writeShellScriptBin "discord" ''${discord}/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland'')
|
||||
(writeShellScriptBin "Discord" ''${discord}/bin/Discord --enable-features=UseOzonePlatform --ozone-platform=wayland'')
|
||||
discord
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
22
common/discord/discord.nix
Normal file
22
common/discord/discord.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# (symlinkJoin {
|
||||
# name = "discord";
|
||||
# paths = [
|
||||
# (writeShellScriptBin "discord" ''${discord}/bin/discord --enable-features=UseOzonePlatform --ozone-platform=wayland'')
|
||||
# (writeShellScriptBin "Discord" ''${discord}/bin/Discord --enable-features=UseOzonePlatform --ozone-platform=wayland'')
|
||||
# discord
|
||||
# ];
|
||||
# })
|
||||
(symlinkJoin {
|
||||
name = "vesktop";
|
||||
paths = [
|
||||
(writeShellScriptBin "vesktop" ''${vesktop}/bin/vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland'')
|
||||
(writeShellScriptBin "Vesktop" ''${vesktop}/bin/Vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland'')
|
||||
vesktop
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
11
common/discord/settings.json
Normal file
11
common/discord/settings.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"SKIP_HOST_UPDATE": true,
|
||||
"IS_MAXIMIZED": true,
|
||||
"IS_MINIMIZED": false,
|
||||
"WINDOW_BOUNDS": {
|
||||
"x": 320,
|
||||
"y": 180,
|
||||
"width": 1280,
|
||||
"height": 720
|
||||
}
|
||||
}
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
../../common/hyprland.nix
|
||||
../../common/git.nix
|
||||
../../common/nvim/nvim.nix
|
||||
../../common/discord.nix
|
||||
../../common/discord/discord.nix
|
||||
../../common/spotify.nix
|
||||
../../common/automapaper/automapaper.nix
|
||||
../../common/firefox.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue