Add xdg-utils and wsl-open

Add `xdg-utils` to add functions like `xdg-open` to run commands such
as `mob timer open` and have them open a browser.

Also add `wsl-open` so this works within WSL.
This commit is contained in:
Oliver Davies 2024-06-18 12:32:47 +01:00
parent 4ed0648578
commit 4ddd317c6c
2 changed files with 2 additions and 1 deletions

View file

@ -50,6 +50,7 @@ with pkgs;
virtualenv
wget
xcp
xdg-utils
xh
yarn
]

View file

@ -29,7 +29,7 @@ inputs.home-manager.lib.homeManagerConfiguration {
{
imports = [ shared-config ];
home.packages = shared-packages;
home.packages = shared-packages ++ [ pkgs.wsl-open ];
home.sessionVariables = {
EDITOR = "nvim";