+chromium isolated
This commit is contained in:
parent
d6f7f05641
commit
f8303bceba
@ -27,7 +27,21 @@
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
rose-pine-hyprcursor
|
rose-pine-hyprcursor
|
||||||
nitch
|
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
|
# # Adds the 'hello' command to your environment. It prints a friendly
|
||||||
# # "Hello, world!" when run.
|
# # "Hello, world!" when run.
|
||||||
# pkgs.hello
|
# 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 = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user