This repository has been archived on 2026-05-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
zen-browser-flake/flake.nix

47 lines
1.0 KiB
Nix
Raw Normal View History

2024-08-21 10:05:26 +02:00
{
description = "Zen Browser";
inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
2025-04-02 20:18:24 +05:00
inputs.home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2025-04-03 18:14:58 -05:00
outputs = {
self,
nixpkgs,
home-manager,
}: let
supportedSystems = [
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
2025-04-03 18:14:58 -05:00
];
forAllSystems = f:
nixpkgs.lib.genAttrs supportedSystems (
system: f nixpkgs.legacyPackages.${system}
);
2025-04-03 18:14:58 -05:00
in {
packages = forAllSystems (pkgs: import ./default.nix {inherit pkgs;});
formatter = forAllSystems (pkgs: pkgs.alejandra);
homeModules = {
2025-04-03 18:14:58 -05:00
beta = import ./hm-module.nix {
inherit self home-manager;
name = "beta";
};
twilight = import ./hm-module.nix {
inherit self home-manager;
name = "twilight";
};
2025-04-03 18:14:58 -05:00
twilight-official = import ./hm-module.nix {
inherit self home-manager;
name = "twilight-official";
};
default = self.homeModules.beta;
2025-04-02 20:18:24 +05:00
};
2025-04-03 18:14:58 -05:00
};
2024-08-21 10:05:26 +02:00
}