webcord wrapper

This commit is contained in:
Gerg-L 2023-03-20 16:46:02 -04:00
parent 743760ba70
commit 661de99fe8
2 changed files with 22 additions and 2 deletions

View file

@ -33,9 +33,19 @@ inputs: {
environment.systemPackages = [
pkgs.pcmanfm #file manager
pkgs.librewolf #best browser
pkgs.webcord
pkgs.obs-studio
pkgs.vlc
# wrap webcord to remove state file https://github.com/SpacingBat3/WebCord/issues/360
(pkgs.symlinkJoin {
name = "webcord-wrapper";
nativeBuildInputs = [pkgs.makeWrapper];
paths = [
pkgs.webcord
];
postBuild = ''
wrapProgram "$out/bin/webcord" --run 'rm $HOME/.config/WebCord/windowState.json'
'';
})
];
networking = {
hostName = "game-laptop";