Add colorsync [WIP Zig project im working on]

This commit is contained in:
Martin Larsson 2025-07-20 14:53:30 +02:00
parent 18d9b0cf09
commit 46dab35cbe
3 changed files with 81 additions and 7 deletions

83
flake.lock generated
View file

@ -36,6 +36,25 @@
"type": "github"
}
},
"colorsync": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1753005798,
"narHash": "sha256-k96HUXcTSRlyCl59KIWCa6vKoC3C0WI9Fv1lr0MI95w=",
"owner": "LarssonMartin1998",
"repo": "colorsync",
"rev": "28751b339de4560acd31f3759d9e6ccd45a2e47e",
"type": "github"
},
"original": {
"owner": "LarssonMartin1998",
"repo": "colorsync",
"type": "github"
}
},
"flake-compat": {
"locked": {
"lastModified": 1688025799,
@ -140,10 +159,28 @@
"type": "github"
}
},
"flake-utils_3": {
"inputs": {
"systems": "systems_3"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"ghostty": {
"inputs": {
"flake-compat": "flake-compat_2",
"flake-utils": "flake-utils",
"flake-utils": "flake-utils_2",
"nixpkgs": [
"nixpkgs"
],
@ -234,8 +271,8 @@
},
"neovim": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_2"
"flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1748617283,
@ -293,7 +330,7 @@
"nixos-wsl": {
"inputs": {
"flake-compat": "flake-compat_3",
"nixpkgs": "nixpkgs_3"
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1752199438,
@ -327,6 +364,22 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1752687322,
"narHash": "sha256-RKwfXA4OZROjBTQAl9WOZQFm7L8Bo93FQwSJpAiSRvo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "6e987485eb2c77e5dcc5af4e3c70843711ef9251",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1748506378,
"narHash": "sha256-oS0Gxh63Df8b8r04lqEYDDLKhHIrVr9/JLOn2bn8JaI=",
@ -342,7 +395,7 @@
"type": "github"
}
},
"nixpkgs_3": {
"nixpkgs_4": {
"locked": {
"lastModified": 1751792365,
"narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=",
@ -358,7 +411,7 @@
"type": "github"
}
},
"nixpkgs_4": {
"nixpkgs_5": {
"locked": {
"lastModified": 1752480373,
"narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=",
@ -398,6 +451,7 @@
"root": {
"inputs": {
"apple-silicon-support": "apple-silicon-support",
"colorsync": "colorsync",
"ghostty": "ghostty",
"home-manager": "home-manager",
"homebrew-bundle": "homebrew-bundle",
@ -407,7 +461,7 @@
"nix-darwin": "nix-darwin",
"nix-homebrew": "nix-homebrew",
"nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs_4",
"nixpkgs": "nixpkgs_5",
"nur": "nur"
}
},
@ -441,6 +495,21 @@
"type": "github"
}
},
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"zig": {
"inputs": {
"flake-compat": [

View file

@ -3,6 +3,7 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
colorsync.url = "github:LarssonMartin1998/colorsync";
ghostty = {
url = "github:ghostty-org/ghostty";
@ -55,6 +56,7 @@
nix-darwin,
nixos-wsl,
neovim,
colorsync,
nix-homebrew,
homebrew-core,
homebrew-cask,
@ -123,6 +125,7 @@
neovim-flake = neovim;
nur = nur.legacyPackages.${system};
ghosttyPkg = ghostty.packages.${system}.ghostty;
colorsync = colorsync.packages.${system}.default;
};
};
in

View file

@ -3,6 +3,7 @@
config,
lib,
neovim-flake,
colorsync,
...
}:
let
@ -135,6 +136,7 @@ in
atac
p7zip
watchman
colorsync
];
file = utils.mk_symlinks { inherit config dotfiles; };