Compare commits
No commits in common. "7b674458384e796c171c23c7bda84e04901a2428" and "a15527caf8eb91afd9eb7681503ded30928debfb" have entirely different histories.
7b67445838
...
a15527caf8
@ -112,7 +112,6 @@
|
||||
};
|
||||
in {
|
||||
inherit (pkgs)
|
||||
chromium-incognito
|
||||
iot-data
|
||||
nixfiles-add-secret
|
||||
nixfiles-auto-install
|
||||
|
@ -25,7 +25,6 @@
|
||||
nmap
|
||||
|
||||
okular
|
||||
chromium-incognito
|
||||
];
|
||||
|
||||
# Wireshark
|
||||
|
@ -1,36 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
chromium-incognito-wrapper = pkgs.writeShellScriptBin "chromium" ''
|
||||
${pkgs.ungoogled-chromium}/bin/chromium --incognito "$@"
|
||||
'';
|
||||
|
||||
in pkgs.stdenv.mkDerivation {
|
||||
pname = "chromium-incognito";
|
||||
version = "0.1.0";
|
||||
src = pkgs.writeTextDir "chromium-incognito.desktop" ''
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Chromium Incognito
|
||||
Exec=${chromium-incognito-wrapper}/bin/chromium %U
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Icon=chromium
|
||||
Type=Application
|
||||
Categories=Network;WebBrowser;
|
||||
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
|
||||
Actions=new-window;
|
||||
|
||||
[Desktop Action new-window]
|
||||
Name=New Incognito Window
|
||||
Exec=${chromium-incognito-wrapper}/bin/chromium
|
||||
'';
|
||||
buildPhase = ''
|
||||
mkdir -p $out/bin
|
||||
ln -s ${chromium-incognito-wrapper}/bin/chromium $out/bin
|
||||
install -D chromium-incognito.desktop $out/share/applications/chromium-incognito.desktop
|
||||
ln -s ${pkgs.ungoogled-chromium}/share/icons $out/share
|
||||
'';
|
||||
|
||||
meta.mainProgram = "chromium";
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
final: prev: {
|
||||
chromium-incognito = final.callPackage ./chromium-incognito {};
|
||||
iot-data = final.python3.pkgs.callPackage ./iot-data {};
|
||||
nixfiles-add-secret = final.callPackage ./nixfiles/nixfiles-add-secret.nix {};
|
||||
nixfiles-auto-install = final.callPackage ./nixfiles/nixfiles-auto-install.nix {};
|
||||
|
Loading…
Reference in New Issue
Block a user