Minor refactors

This commit is contained in:
Henrik Lissner 2020-01-17 19:36:34 -05:00
parent e1785b5171
commit f831429666
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 3 deletions

View file

@ -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";

View file

@ -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 {