set default browser for electron apps correctly using lib.getExe
This commit is contained in:
parent
87c3098961
commit
200c5bb064
1 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,8 @@
|
||||||
{
|
{ pkgs, lib, ...}: {
|
||||||
# set FLAKE variable for use with nh
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
|
# Set FLAKE variable for use with nh
|
||||||
FLAKE = "/home/blue/nixos";
|
FLAKE = "/home/blue/nixos";
|
||||||
DEFAULT_BROWSER = "${pkgs.firefox}/bin/firefox";
|
# Set default browser variable for electron apps (mainly discord)
|
||||||
|
DEFAULT_BROWSER = "${lib.getExe pkgs.firefox}";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue