Files
komorebi/flake.nix
T
LGUG2Z c6d29a9268 build(nix): schemars-nixgen is built and checked by the flake, and in the dev shell
nix/nixgen has the package and the clippy and nextest checks (in the default check sets), from a
"nixgen" platform of nix/workspace-src.nix that is the tool alone; it is a stub in every other
platform's source, so an edit of it rebuilds none of theirs.
2026-11-05 15:03:27 -08:00

42 lines
1.8 KiB
Nix

{
description = "komorebi, a tiling window manager for Windows, KDE Plasma and macOS";
inputs = {
# One nixpkgs for the three platforms. The KDE VM tests run against the Plasma and KWin of this
# revision (nix/linux/supported-kwin.nix says which KWin that is), so it is the one an update has
# to keep green for the VM suites; see docs/dev/flake.md.
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
# Intel Macs only: nixpkgs 26.11 dropped x86_64-darwin (evaluating it throws), so the x86_64-darwin
# outputs use the last revision that still supported it, the one the macOS flake was pinned to.
# Nothing else uses it; drop it with x86_64-darwin when Intel Macs are no longer supported.
nixpkgs-x86_64-darwin.url = "github:NixOS/nixpkgs/16c7794d0a28b5a37904d55bcca36003b9109aaa";
flake-parts.url = "github:hercules-ci/flake-parts";
crane.url = "github:ipetkov/crane";
rust-overlay.url = "github:oxalica/rust-overlay";
rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
git-hooks-nix.url = "github:cachix/git-hooks.nix";
git-hooks-nix.inputs.nixpkgs.follows = "nixpkgs";
# the application-specific configuration that komorebic embeds on Windows
asc = {
url = "github:LGUG2Z/komorebi-application-specific-configuration";
flake = false;
};
};
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
./nix/common.nix
./nix/checks.nix
./nix/windows/flake-module.nix
./nix/linux/flake-module.nix
./nix/macos/flake-module.nix
./nix/recorder/flake-module.nix
./nix/nixgen/flake-module.nix
];
};
}