From 5926c7a336ae983d4ec82a5aa76953aa0f90175d Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 18 Jan 2025 21:42:44 -0800 Subject: [PATCH] feat: add zen browser --- flake.lock | 41 +++++----------------------------------- flake.nix | 2 +- modules/core/default.nix | 5 +++-- 3 files changed, 9 insertions(+), 39 deletions(-) diff --git a/flake.lock b/flake.lock index 6a27f36..eeaddec 100644 --- a/flake.lock +++ b/flake.lock @@ -114,24 +114,6 @@ "type": "github" } }, - "flake-parts": { - "inputs": { - "nixpkgs-lib": "nixpkgs-lib" - }, - "locked": { - "lastModified": 1730504689, - "narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "506278e768c2a08bec68eb62932193e341f55c90", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, "flake-utils": { "inputs": { "systems": [ @@ -306,18 +288,6 @@ "type": "github" } }, - "nixpkgs-lib": { - "locked": { - "lastModified": 1730504152, - "narHash": "sha256-lXvH/vOfb4aGYyvFmZK/HlsNsr/0CVWlwYvo2rxJk3s=", - "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz" - }, - "original": { - "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz" - } - }, "nixvim": { "inputs": { "nixCats": "nixCats", @@ -539,22 +509,21 @@ }, "zen": { "inputs": { - "flake-parts": "flake-parts", "nixpkgs": [ "nixpkgs" ] }, "locked": { - "lastModified": 1731377913, - "narHash": "sha256-U/NKOKRChr15VE2zT583iOJ/uBpAARBKfiAeNB+XNq4=", + "lastModified": 1737173095, + "narHash": "sha256-32xX3cAIQovRNtW5cHirLvSC87uoOfLcaYGUOrTyhx4=", "owner": "youwen5", - "repo": "zen-browser-source-flake", - "rev": "4d151693f8fdf58bdcdc63ea51d1420b5779577c", + "repo": "zen-browser-flake", + "rev": "e91b2aa537c1492efd1c5f35f1f204c685e461ab", "type": "github" }, "original": { "owner": "youwen5", - "repo": "zen-browser-source-flake", + "repo": "zen-browser-flake", "type": "github" } } diff --git a/flake.nix b/flake.nix index ce9cf09..6d606bd 100644 --- a/flake.nix +++ b/flake.nix @@ -20,7 +20,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; zen = { - url = "github:youwen5/zen-browser-source-flake"; + url = "github:youwen5/zen-browser-flake"; inputs.nixpkgs.follows = "nixpkgs"; }; wallpapers = { diff --git a/modules/core/default.nix b/modules/core/default.nix index 5b4e1b7..ea71cc5 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -60,10 +60,11 @@ NIXOS_OZONE_WL = "1"; }; environment.systemPackages = [ - inputs.nixvim.packages.${pkgs.system}.default + inputs.nixvim.packages.${pkgs.stdenv.targetPlatform.system}.default + inputs.zen.packages.${pkgs.stdenv.targetPlatform.system}.default ]; #services.automatic-timezoned.enable = true; - #networking.timeServers = options.networking.timeServers.default ++ [ "time-macos.apple.com" ]; + #networking.timeServers = options.networking.timeServers.default ++ [ "time-macos.apple.com" ]; # Define a user account. Don't forget to set a password with ‘passwd’. users.users.kaitotlex = {