-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
57 lines (54 loc) · 1.43 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
description = "Soothing pastel theme for Where is my SDDM theme?";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
inputs:
let
systems = [
"aarch64-darwin"
"aarch64-linux"
"x86_64-darwin"
"x86_64-linux"
];
forEachSystem =
f:
inputs.nixpkgs.lib.listToAttrs (
map (system: {
name = system;
value = f {
inherit system;
pkgs = import inputs.nixpkgs { inherit system; };
};
}) systems
);
in
{
devShells = forEachSystem (
{ pkgs, system }:
{
default = pkgs.mkShell {
packages = [ pkgs.catppuccin-whiskers ];
};
}
);
formatter = forEachSystem ({ pkgs, system }: pkgs.nixfmt-rfc-style);
overlays.default = final: _: {
catppuccin-where-is-my-sddm-theme = final.callPackage ./default.nix { };
};
packages = forEachSystem (
{ pkgs, system }:
{
default = inputs.self.packages.${system}.catppuccin-where-is-my-sddm-theme;
catppuccin-where-is-my-sddm-theme = pkgs.callPackage ./default.nix { };
}
);
};
nixConfig = {
extra-substituters = [ "https://catppuccin.cachix.org" ];
extra-trusted-public-keys = [
"catppuccin.cachix.org-1:noG/4HkbhJb+lUAdKrph6LaozJvAeEEZj4N732IysmU="
];
};
}