feat: swap firefox for zen-browser

This commit is contained in:
leonhard committed 2026-11-23 11:50:51 +01:00
1 parent 2aa6ef5688
commit a0205f5e61
5 files changed
+52 -9

No files matched your search

Generated
+25 -1
View File
@@ -99,7 +99,8 @@
"nixpkgs": "nixpkgs",
"nixvim": "nixvim",
"sops-nix": "sops-nix",
"systems": "systems_2"
"systems": "systems_2",
"zen-browser": "zen-browser"
}
},
"sops-nix": {
@@ -153,6 +154,29 @@
"repo": "default",
"type": "github"
}
},
"zen-browser": {
"inputs": {
"home-manager": [
"home-manager"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1795333741,
"narHash": "sha256-xJaT+L8DeMR0TJjAOlrjGqaRG2AjZrjivQfCtiLRtlY=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "81376950ac382a96b965f9d6f8bf60354ad99c2f",
"type": "github"
},
"original": {
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"type": "github"
}
}
},
"root": "root",
+8
View File
@@ -17,6 +17,14 @@
};
nixvim.url = "github:nix-community/nixvim";
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
};
outputs =
+1 -1
View File
@@ -13,12 +13,12 @@ in
../options.nix
./git.nix
./firefox.nix
./fish.nix
./nixvim.nix
./niri.nix
./kitty.nix
./rofi
./zen-browser.nix
];
home = {
-7
View File
@@ -1,7 +0,0 @@
{
config,
...
}:
{
programs.firefox.enable = config.nix-leonhard.graphical.enable;
}
+18
View File
@@ -0,0 +1,18 @@
{
config,
lib,
inputs,
...
}:
{
imports = [
inputs.zen-browser.homeModules.beta
];
config = lib.mkIf config.nix-leonhard.graphical.enable {
programs.zen-browser = {
enable = true;
setAsDefaultBrowser = true;
};
};
}