From 0b413e227ca0b02923d7cbe89075236b305586ae Mon Sep 17 00:00:00 2001 From: Allen Cai <3420934991@qq.com> Date: Fri, 25 Jul 2025 16:09:37 +0800 Subject: [PATCH] Revert "feat: disable zen" This reverts commit fe5ec240904307944f003eaa3d0d61ba334535ef. --- flake.lock | 45 ++++++++++++++++++++++++++++++++- flake.nix | 6 ++--- modules/desktop/browser/all.nix | 2 +- 3 files changed, 48 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 93f2983..56943df 100644 --- a/flake.lock +++ b/flake.lock @@ -534,6 +534,27 @@ "type": "github" } }, + "home-manager_3": { + "inputs": { + "nixpkgs": [ + "zen", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1752603129, + "narHash": "sha256-S+wmHhwNQ5Ru689L2Gu8n1OD6s9eU9n9mD827JNR+kw=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "e8c19a3cec2814c754f031ab3ae7316b64da085b", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, "impermanence": { "locked": { "lastModified": 1737831083, @@ -1021,7 +1042,8 @@ "nur": "nur", "quickshell": "quickshell", "sops-nix": "sops-nix", - "stylix": "stylix" + "stylix": "stylix", + "zen": "zen" } }, "rust-analyzer-src": { @@ -1259,6 +1281,27 @@ "repo": "xwayland-satellite", "type": "github" } + }, + "zen": { + "inputs": { + "home-manager": "home-manager_3", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1753417538, + "narHash": "sha256-Z/MbHMjvHoC57sQS43/oLwzEQebT5ST8MRU8Zcb5428=", + "ref": "refs/heads/main", + "rev": "d04bdc75b3d203b951ce00cbb6a7ab410ab110c6", + "revCount": 593, + "type": "git", + "url": "https://gh-proxy.com/github.com/0xc000022070/zen-browser-flake" + }, + "original": { + "type": "git", + "url": "https://gh-proxy.com/github.com/0xc000022070/zen-browser-flake" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index c90f06e..72e5e8d 100644 --- a/flake.nix +++ b/flake.nix @@ -52,8 +52,8 @@ fenix.url = "github:nix-community/fenix"; fenix.inputs.nixpkgs.follows = "nixpkgs"; - # zen.url = "git+https://gh-proxy.com/github.com/0xc000022070/zen-browser-flake"; - # zen.inputs.nixpkgs.follows = "nixpkgs"; + zen.url = "git+https://gh-proxy.com/github.com/0xc000022070/zen-browser-flake"; + zen.inputs.nixpkgs.follows = "nixpkgs"; infuse.url = "git+https://codeberg.org/amjoseph/infuse.nix"; infuse.flake = false; @@ -160,7 +160,7 @@ inputs.sops-nix.homeManagerModules.sops inputs.impermanence.nixosModules.home-manager.impermanence inputs.stylix.homeModules.stylix - # inputs.zen.homeModules.beta + inputs.zen.homeModules.beta # workaround for annoying stylix ( { lib, ... }: diff --git a/modules/desktop/browser/all.nix b/modules/desktop/browser/all.nix index 0e462dc..791b6b9 100644 --- a/modules/desktop/browser/all.nix +++ b/modules/desktop/browser/all.nix @@ -12,7 +12,7 @@ lib.my.makeSwitch { firefox.enable = true; librewolf.enable = true; chromium.enable = true; - zen.enable = false; + zen.enable = true; }; }; }