diff --git a/home/logistik/home.nix b/home/logistik/home.nix index f14d12e..b2a0e15 100644 --- a/home/logistik/home.nix +++ b/home/logistik/home.nix @@ -27,7 +27,21 @@ home.packages = with pkgs; [ rose-pine-hyprcursor nitch - google-chrome + # Create an isolated chromium instance with separate user data directory + (pkgs.writeShellScriptBin "chromium-isolated" '' + exec ${pkgs.chromium}/bin/chromium \ + --user-data-dir="$HOME/.config/chromium-isolated" \ + --password-store=basic \ + --kiosk \ + --ozone-platform=x11 \ + --disable-restore-session-state \ + --disable-session-crashed-bubble \ + --disable-infobars \ + --no-first-run \ + --disable-logging \ + --incognito \ + "$@" + '') # # Adds the 'hello' command to your environment. It prints a friendly # # "Hello, world!" when run. # pkgs.hello @@ -77,26 +91,6 @@ ]; }; - nixpkgs = { - overlays = [ - (final: prev: { - google-chrome = prev.google-chrome.override { - commandLineArgs = [ - "--password-store=basic" - "--kiosk" - "--ozone-platform=x11" - "--disable-restore-session-state" - "--disable-session-crashed-bubble" - "--disable-infobars" - "--no-first-run" - "--disable-logging" - "--incognito" - ]; - }; - }) - ]; - }; - wayland.windowManager.hyprland = { enable = true; settings = {