+chromium isolated
This commit is contained in:
parent
d6f7f05641
commit
f8303bceba
@ -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 = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user