2021-10-17 14:04:19 +00:00
|
|
|
{
|
|
|
|
inputs = {
|
2023-10-10 09:44:54 +00:00
|
|
|
base16-alacritty = {
|
|
|
|
flake = false;
|
2024-02-07 11:03:02 +00:00
|
|
|
url = "github:aarowill/base16-alacritty";
|
2023-10-10 09:44:54 +00:00
|
|
|
};
|
2024-02-07 11:03:02 +00:00
|
|
|
|
2024-01-17 15:12:55 +00:00
|
|
|
base16-alacritty-yaml = {
|
|
|
|
flake = false;
|
2024-02-07 11:03:02 +00:00
|
|
|
url = "github:aarowill/base16-alacritty/63d8ae5dfefe5db825dd4c699d0cdc2fc2c3eaf7";
|
2024-01-17 15:12:55 +00:00
|
|
|
};
|
2024-02-07 11:03:02 +00:00
|
|
|
|
2023-10-10 09:44:54 +00:00
|
|
|
base16-fish = {
|
|
|
|
flake = false;
|
2024-02-07 11:03:02 +00:00
|
|
|
url = "github:tomyun/base16-fish";
|
2023-10-10 09:44:54 +00:00
|
|
|
};
|
2024-02-07 11:03:02 +00:00
|
|
|
|
2023-10-10 09:44:54 +00:00
|
|
|
base16-foot = {
|
|
|
|
flake = false;
|
2024-02-07 11:03:02 +00:00
|
|
|
url = "github:tinted-theming/base16-foot";
|
2023-10-10 09:44:54 +00:00
|
|
|
};
|
2024-02-07 11:03:02 +00:00
|
|
|
|
2023-10-10 09:44:54 +00:00
|
|
|
base16-helix = {
|
2024-02-07 11:03:02 +00:00
|
|
|
flake = false;
|
2023-10-10 09:44:54 +00:00
|
|
|
url = "github:tinted-theming/base16-helix";
|
2024-02-07 11:03:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
base16-tmux = {
|
2023-10-10 09:44:54 +00:00
|
|
|
flake = false;
|
2024-02-07 11:03:02 +00:00
|
|
|
url = "github:tinted-theming/base16-tmux";
|
2023-10-10 09:44:54 +00:00
|
|
|
};
|
2024-02-07 11:03:02 +00:00
|
|
|
|
2023-10-10 09:44:54 +00:00
|
|
|
base16-kitty = {
|
2024-02-07 11:03:02 +00:00
|
|
|
flake = false;
|
2023-10-10 09:44:54 +00:00
|
|
|
url = "github:kdrag0n/base16-kitty";
|
2024-02-07 11:03:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
base16-vim = {
|
2023-10-10 09:44:54 +00:00
|
|
|
flake = false;
|
2024-02-07 11:03:02 +00:00
|
|
|
url = "github:chriskempson/base16-vim";
|
2023-10-10 09:44:54 +00:00
|
|
|
};
|
2024-02-07 11:03:02 +00:00
|
|
|
|
|
|
|
base16.url = "github:SenchoPens/base16.nix";
|
|
|
|
|
|
|
|
flake-compat = {
|
2023-10-10 09:44:54 +00:00
|
|
|
flake = false;
|
2024-02-07 11:03:02 +00:00
|
|
|
url = "github:edolstra/flake-compat";
|
2023-10-10 09:44:54 +00:00
|
|
|
};
|
2024-02-07 11:03:02 +00:00
|
|
|
|
|
|
|
gnome-shell = {
|
2023-10-10 09:44:54 +00:00
|
|
|
flake = false;
|
2024-02-07 11:03:02 +00:00
|
|
|
|
|
|
|
# TODO: Unlocking the input and pointing to official repository requires
|
|
|
|
# updating the patch:
|
|
|
|
# https://github.com/danth/stylix/pull/224#discussion_r1460339607.
|
|
|
|
url = "github:GNOME/gnome-shell/45.1";
|
2023-10-10 09:44:54 +00:00
|
|
|
};
|
2024-02-07 11:03:02 +00:00
|
|
|
|
|
|
|
# The 'home-manager' input is used to generate the documentation.
|
|
|
|
home-manager = {
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
2021-10-17 14:04:19 +00:00
|
|
|
};
|
|
|
|
|
2022-07-24 16:04:14 +00:00
|
|
|
outputs =
|
2023-03-28 23:54:14 +00:00
|
|
|
{ nixpkgs, base16, self, ... }@inputs:
|
|
|
|
{
|
|
|
|
packages = nixpkgs.lib.genAttrs [
|
|
|
|
"aarch64-darwin"
|
|
|
|
"aarch64-linux"
|
|
|
|
"i686-linux"
|
|
|
|
"x86_64-darwin"
|
|
|
|
"x86_64-linux"
|
|
|
|
] (
|
2022-07-24 16:04:14 +00:00
|
|
|
system:
|
2023-02-13 20:09:56 +00:00
|
|
|
let pkgs = nixpkgs.legacyPackages.${system};
|
2022-07-24 16:04:14 +00:00
|
|
|
in {
|
2023-03-28 23:54:14 +00:00
|
|
|
docs = import ./docs {
|
|
|
|
inherit pkgs inputs;
|
|
|
|
inherit (nixpkgs) lib;
|
|
|
|
};
|
|
|
|
|
2023-02-13 20:09:56 +00:00
|
|
|
palette-generator = pkgs.callPackage ./palette-generator { };
|
2022-07-24 16:04:14 +00:00
|
|
|
}
|
|
|
|
);
|
2022-05-02 00:12:27 +00:00
|
|
|
|
2022-07-24 16:04:14 +00:00
|
|
|
nixosModules.stylix = { pkgs, ... }@args: {
|
|
|
|
imports = [
|
2023-10-10 09:44:54 +00:00
|
|
|
(import ./stylix/nixos inputs {
|
2023-01-30 18:25:27 +00:00
|
|
|
inherit (self.packages.${pkgs.system}) palette-generator;
|
|
|
|
base16 = base16.lib args;
|
2023-01-31 18:00:03 +00:00
|
|
|
homeManagerModule = self.homeManagerModules.stylix;
|
2023-01-30 18:25:27 +00:00
|
|
|
})
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
homeManagerModules.stylix = { pkgs, ... }@args: {
|
|
|
|
imports = [
|
2023-10-10 09:44:54 +00:00
|
|
|
(import ./stylix/hm inputs {
|
2022-07-24 16:04:14 +00:00
|
|
|
inherit (self.packages.${pkgs.system}) palette-generator;
|
|
|
|
base16 = base16.lib args;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
};
|
2023-03-28 15:03:06 +00:00
|
|
|
|
|
|
|
darwinModules.stylix = { pkgs, ... }@args: {
|
|
|
|
imports = [
|
2023-10-10 09:44:54 +00:00
|
|
|
(import ./stylix/darwin inputs {
|
2023-04-01 10:53:33 +00:00
|
|
|
inherit (self.packages.${pkgs.system}) palette-generator;
|
2023-03-28 15:03:06 +00:00
|
|
|
base16 = base16.lib args;
|
|
|
|
homeManagerModule = self.homeManagerModules.stylix;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
};
|
2022-07-24 16:04:14 +00:00
|
|
|
};
|
2021-10-17 14:04:19 +00:00
|
|
|
}
|