trying out zen
This commit is contained in:
23
flake.lock
generated
23
flake.lock
generated
@@ -1224,7 +1224,8 @@
|
|||||||
"nixpkgs-small": "nixpkgs-small",
|
"nixpkgs-small": "nixpkgs-small",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"systems": "systems_5",
|
"systems": "systems_5",
|
||||||
"tuirun": "tuirun"
|
"tuirun": "tuirun",
|
||||||
|
"zen-browser": "zen-browser"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
@@ -1448,6 +1449,26 @@
|
|||||||
"repo": "xdg-desktop-portal-hyprland",
|
"repo": "xdg-desktop-portal-hyprland",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"zen-browser": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1729421324,
|
||||||
|
"narHash": "sha256-uZGVMe9EgSXmiX6WysVt8ooHP+KW2biEmP/lxLMQ7aY=",
|
||||||
|
"owner": "cnsta",
|
||||||
|
"repo": "zen-browser-flake",
|
||||||
|
"rev": "70f6800e45062c93c99118a9010a42adbb63b1f3",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "cnsta",
|
||||||
|
"repo": "zen-browser-flake",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
@@ -112,6 +112,11 @@
|
|||||||
# inputs.nixpkgs.follows = "nixpkgs";
|
# inputs.nixpkgs.follows = "nixpkgs";
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
zen-browser = {
|
||||||
|
url = "github:cnsta/zen-browser-flake";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
# Custom apps
|
# Custom apps
|
||||||
tuirun.url = "git+https://git.sr.ht/~canasta/tuirun";
|
tuirun.url = "git+https://git.sr.ht/~canasta/tuirun";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./home/browsers/chromium
|
./home/browsers/chromium
|
||||||
./home/browsers/firefox
|
./home/browsers/firefox
|
||||||
|
./home/browsers/zen
|
||||||
|
|
||||||
./home/comm/discord
|
./home/comm/discord
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ in {
|
|||||||
swedish-dictionary
|
swedish-dictionary
|
||||||
reddit-enhancement-suite
|
reddit-enhancement-suite
|
||||||
return-youtube-dislikes
|
return-youtube-dislikes
|
||||||
# enhancer-for-youtube # unfree
|
enhancer-for-youtube # unfree
|
||||||
];
|
];
|
||||||
settings = {
|
settings = {
|
||||||
"apz.overscroll.enabled" = true;
|
"apz.overscroll.enabled" = true;
|
||||||
|
|||||||
19
modules/home/browsers/zen/default.nix
Normal file
19
modules/home/browsers/zen/default.nix
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
cfg = config.home.browsers.zen;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
home.browsers.zen.enable = mkEnableOption "Enables zen browser";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = [
|
||||||
|
inputs.zen-browser.packages.${pkgs.system}.default
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -26,8 +26,8 @@ in {
|
|||||||
"$passwordManager" = "keepassxc";
|
"$passwordManager" = "keepassxc";
|
||||||
"$menu" = "pkill anyrun || anyrun | xargs hyprctl dispatch exec --";
|
"$menu" = "pkill anyrun || anyrun | xargs hyprctl dispatch exec --";
|
||||||
"$menuw" = "pkill anyrun || anyrun | xargs hyprctl dispatch exec --";
|
"$menuw" = "pkill anyrun || anyrun | xargs hyprctl dispatch exec --";
|
||||||
"$browser" = "firefox";
|
"$browser" = "zen";
|
||||||
"$browserinc" = "firefox --private-window";
|
"$browserinc" = "zen --private-window";
|
||||||
"$yazi" = "alacritty -e yazi";
|
"$yazi" = "alacritty -e yazi";
|
||||||
"$tuirun" = "tuirun-toggle.sh";
|
"$tuirun" = "tuirun-toggle.sh";
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ in {
|
|||||||
(mkIf cfg.desktop.enable [
|
(mkIf cfg.desktop.enable [
|
||||||
pkgs.protonup
|
pkgs.protonup
|
||||||
pkgs.winetricks
|
pkgs.winetricks
|
||||||
|
pkgs.tor-browser
|
||||||
])
|
])
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -17,6 +17,9 @@
|
|||||||
chromium = {
|
chromium = {
|
||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
|
zen = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
comm = {
|
comm = {
|
||||||
discord = {
|
discord = {
|
||||||
|
|||||||
Reference in New Issue
Block a user