brewery
notashelf /
c84819b3e854192dde1a28c06219c348395876f9

chroma

public

Lightweight wallpaper daemon for Wayland

Star0tarball
clone
ssh://git@git.notashelf.dev:33/notashelf/chroma.git
flake.nixNix32 lines816 B
1
{
2
  description = "Super-fast, lightweight and efficient wallpaper daemon for Wayland compositors";
3
  inputs.nixpkgs.url = "github:NixOS/nixpkgs?ref?nixos-unstable";
4
  outputs = {
5
    nixpkgs,
6
    self,
7
    ...
8
  }: let
9
    systems = ["x86_64-linux" "aarch64-linux"];
10
    forAllSystems = f:
11
      builtins.listToAttrs (map (system: {
12
          name = system;
13
          value = f system;
14
        })
15
        systems);
16
17
    pkgsFor = system: nixpkgs.legacyPackages.${system};
18
  in {
19
    devShells = forAllSystems (system: let
20
      pkgs = pkgsFor system;
21
    in {
22
      default = pkgs.callPackage ./shell.nix {};
23
    });
24
25
    packages = forAllSystems (system: let
26
      pkgs = pkgsFor system;
27
    in {
28
      chroma = pkgs.callPackage ./nix/package.nix {};
29
      default = self.packages.${system}.chroma;
30
    });
31
  };
32
}