diff options
-rw-r--r-- | tv/1systems/wu.nix | 7 | ||||
-rw-r--r-- | tv/2configs/xserver/Xresources.nix | 6 | ||||
-rw-r--r-- | tv/5pkgs/default.nix | 7 | ||||
-rw-r--r-- | tv/5pkgs/ff/default.nix | 8 |
4 files changed, 12 insertions, 16 deletions
diff --git a/tv/1systems/wu.nix b/tv/1systems/wu.nix index 987748d..a5232c9 100644 --- a/tv/1systems/wu.nix +++ b/tv/1systems/wu.nix @@ -40,12 +40,6 @@ with lib; hashPassword lentil parallel - (pkgs.writeScriptBin "ff" '' - #! ${pkgs.bash}/bin/bash - exec sudo -u ff -i <<EOF - exec ${pkgs.firefoxWrapper}/bin/firefox $(printf " %q" "$@") - EOF - '') (pkgs.writeScriptBin "im" '' #! ${pkgs.bash}/bin/bash export PATH=${makeSearchPath "bin" (with pkgs; [ @@ -69,6 +63,7 @@ with lib; bind # dig cac dic + ff file get gitAndTools.qgit diff --git a/tv/2configs/xserver/Xresources.nix b/tv/2configs/xserver/Xresources.nix index 3936a26..f287bf2 100644 --- a/tv/2configs/xserver/Xresources.nix +++ b/tv/2configs/xserver/Xresources.nix @@ -203,11 +203,7 @@ pkgs.writeText "Xresources" '' ! ref https://github.com/muennich/urxvt-perls URxvt*perl-ext: default,url-select URxvt*keysym.M-u: perl:url-select:select_next - !URxvt*url-select.launcher: /home/tv/free/firefox -new-tab - ! 2014-05-12 nix: - !URxvt.url-select.launcher: /home/tv/bin/ff -new-tab - ! 2015-07-26 stockholm: - URxvt*url-select.launcher: ff -new-tab + URxvt*url-select.launcher: ${pkgs.ff}/bin/ff -new-tab URxvt*url-select.underline: true URxvt*colorUL: #4682B4 URxvt.perl-lib: ${pkgs.urxvt_perls}/lib/urxvt/perl diff --git a/tv/5pkgs/default.nix b/tv/5pkgs/default.nix index 4175292..3cfa8f8 100644 --- a/tv/5pkgs/default.nix +++ b/tv/5pkgs/default.nix @@ -1,9 +1,6 @@ { pkgs, ... }: -let - inherit (pkgs) callPackage; -in - { - viljetic-pages = callPackage ./viljetic-pages {}; + ff = pkgs.callPackage ./ff {}; + viljetic-pages = pkgs.callPackage ./viljetic-pages {}; } diff --git a/tv/5pkgs/ff/default.nix b/tv/5pkgs/ff/default.nix new file mode 100644 index 0000000..2db4040 --- /dev/null +++ b/tv/5pkgs/ff/default.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: + +pkgs.writeScriptBin "ff" '' + #! ${pkgs.bash}/bin/bash + exec sudo -u ff -i <<EOF + exec ${pkgs.firefoxWrapper}/bin/firefox $(printf " %q" "$@") + EOF +'' |