mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
webcord wrapper
This commit is contained in:
parent
743760ba70
commit
661de99fe8
2 changed files with 22 additions and 2 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ inputs: {
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.webcord # talk to people (gross)
|
||||
pkgs.bitwarden #store stuff
|
||||
pkgs.qbittorrent #steal stuff
|
||||
pkgs.pavucontrol #gui volume control
|
||||
|
|
@ -58,6 +57,17 @@ inputs: {
|
|||
pkgs.alacritty
|
||||
pkgs.lutris
|
||||
pkgs.prismlauncher
|
||||
# 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'
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
||||
environment.etc."xdg/alacritty/alacritty.yml".source = "${self}/misc/alacritty.yml";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue