diff --git a/modules/browser/firefox.nix b/modules/browser/firefox.nix index d9eefb28..387b1812 100644 --- a/modules/browser/firefox.nix +++ b/modules/browser/firefox.nix @@ -7,8 +7,8 @@ { my.packages = with pkgs; [ firefox-bin (pkgs.writeScriptBin "firefox-private" '' - #! ${pkgs.bash}/bin/bash - firefox --private-window "$@" + #!${stdenv.shell} + ${firefox}/bin/firefox --private-window "$@" '') (makeDesktopItem { name = "firefox-private"; diff --git a/modules/services/syncthing.nix b/modules/services/syncthing.nix index dd1c5183..400a4bae 100644 --- a/modules/services/syncthing.nix +++ b/modules/services/syncthing.nix @@ -19,7 +19,7 @@ folders = let deviceEnabled = devices: lib.elem config.networking.hostName devices; deviceType = devices: - if (deviceEnabled devices) + if deviceEnabled devices then "sendreceive" else "receiveonly"; in {