Files
zen-browser-flake/flake.nix
Aly Raffauf f759e11d98 feat: add aarch64-darwin to supportedSystems + mark darwin as broken (#79)
For those darwin users who want to use the flake module.
2025-07-17 19:54:59 -05:00

52 lines
1.1 KiB
Nix

{
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
pkgs = nixpkgs.legacyPackages.${system};
in
pkgs.alejandra
);
homeModules = rec {
beta = import ./hm-module.nix {
inherit self home-manager;
name = "beta";
};
twilight = import ./hm-module.nix {
inherit self home-manager;
name = "twilight";
};
twilight-official = import ./hm-module.nix {
inherit self home-manager;
name = "twilight-official";
};
default = beta;
};
};
}