feat: Added zen browser

Also disable seafile (very slow and can't upload any files from ios / ipados)
This commit is contained in:
uttarayan21
2025-06-24 19:47:10 +05:30
parent 80d53cc79e
commit c2de2f3416
5 changed files with 84 additions and 4 deletions

43
flake.lock generated
View File

@@ -1228,6 +1228,27 @@
"type": "github" "type": "github"
} }
}, },
"home-manager_2": {
"inputs": {
"nixpkgs": [
"zen-browser",
"nixpkgs"
]
},
"locked": {
"lastModified": 1743604125,
"narHash": "sha256-ZD61DNbsBt1mQbinAaaEqKaJk2RFo9R/j+eYWeGMx7A=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "180fd43eea296e62ae68e079fcf56aba268b9a1a",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"hyprcursor": { "hyprcursor": {
"inputs": { "inputs": {
"hyprlang": [ "hyprlang": [
@@ -2518,6 +2539,7 @@
"tree-sitter-slint": "tree-sitter-slint", "tree-sitter-slint": "tree-sitter-slint",
"typr": "typr", "typr": "typr",
"volt": "volt", "volt": "volt",
"zen-browser": "zen-browser",
"zeronsd": "zeronsd", "zeronsd": "zeronsd",
"zjstatus": "zjstatus" "zjstatus": "zjstatus"
} }
@@ -3241,6 +3263,27 @@
"type": "github" "type": "github"
} }
}, },
"zen-browser": {
"inputs": {
"home-manager": "home-manager_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1750649182,
"narHash": "sha256-beNAQ63SY8HxBsFdMGv/fdLzjQMYgifMh1DcmaIzMjo=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "c0785a69fe3988b4ef44c74575f4a2f698f91f32",
"type": "github"
},
"original": {
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"type": "github"
}
},
"zeronsd": { "zeronsd": {
"inputs": { "inputs": {
"advisory-db": "advisory-db_6", "advisory-db": "advisory-db_6",

View File

@@ -175,6 +175,12 @@
url = "git+file:/home/servius/Projects/command-runner"; url = "git+file:/home/servius/Projects/command-runner";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
# IMPORTANT: we're using "libgbm" and is only available in unstable so ensure
# to have it up-to-date or simply don't specify the nixpkgs input
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { outputs = {

View File

@@ -33,5 +33,6 @@ lib.optionalAttrs device.hasGui {
./pcsx2.nix ./pcsx2.nix
./seafile.nix ./seafile.nix
./blueman.nix ./blueman.nix
./zen.nix
]; ];
} }

31
home/apps/zen.nix Normal file
View File

@@ -0,0 +1,31 @@
{
pkgs,
inputs,
...
}: {
imports = [
inputs.zen-browser.homeModules.beta
];
programs.zen-browser = {
enable = true;
profiles.default = {
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
privacy-badger
violentmonkey
tridactyl
clearurls
onepassword-password-manager
ublock-origin
i-dont-care-about-cookies
keepa
sponsorblock
];
};
policies = {
DisablePocket = true;
DisableTelemetry = true;
FeatureRecommendations = false;
SkipOnboarding = true;
};
};
}

View File

@@ -9,19 +9,18 @@
./caddy.nix ./caddy.nix
./fail2ban.nix ./fail2ban.nix
./gitea.nix ./gitea.nix
# ./appflowy.nix ./navidrome.nix
# ./home-assistant.nix
# ./home-assistant.nix
# ./jellyfin.nix # ./jellyfin.nix
# ./polaris.nix # ./polaris.nix
./seafile.nix
# ./syncthing.nix # ./syncthing.nix
# ./vscode.nix # ./vscode.nix
# ./nextcloud.nix # ./nextcloud.nix
# ./navidrome.nix
# ./ldap.nix # ./ldap.nix
# ./llama.nix # ./llama.nix
# ./nextcloud.nix # ./nextcloud.nix
# ./seafile.nix
]; ];
services = { services = {
nix-serve = { nix-serve = {