{
description = "Zen Browser";
inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
inputs.home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {
self,
nixpkgs,
home-manager,
}: let
supportedSystems = [
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
];
forAllSystems = f:
nixpkgs.lib.genAttrs supportedSystems (
system: f nixpkgs.legacyPackages.${system}
);
in {
packages = forAllSystems (pkgs: import ./default.nix {inherit pkgs;});
formatter = forAllSystems (pkgs: pkgs.alejandra);
homeModules = {
beta = import ./hm-module.nix {
inherit self home-manager;
name = "beta";
twilight = import ./hm-module.nix {
name = "twilight";
twilight-official = import ./hm-module.nix {
name = "twilight-official";
default = self.homeModules.beta;
}