Minor refactors
This commit is contained in:
parent
e1785b5171
commit
f831429666
|
@ -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";
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue