{
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 = nixpkgs.lib.genAttrs supportedSystems;
in {
packages = forAllSystems (system:
import ./default.nix {
pkgs = nixpkgs.legacyPackages.${system};
});
formatter = forAllSystems (
system: let
in
pkgs.alejandra
);
homeModules = rec {
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 = beta;
}