1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

feat(icons): add Things and Obsidian

This commit is contained in:
Ryan Cao 2023-09-19 22:09:10 +08:00
parent 9eb553fccc
commit 16e9ebf9fd
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
6 changed files with 34 additions and 26 deletions

38
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1694611702, "lastModified": 1694795069,
"narHash": "sha256-lMf0iLYHKJqclNYI9JkWpw1VKBL0WnOMeENuChKFIB0=", "narHash": "sha256-Y0BlJ3DMxABXbqcHXuOcqkC2LfjmOhVcW9GtGWSTSoU=",
"owner": "ryanccn", "owner": "ryanccn",
"repo": "am", "repo": "am",
"rev": "3fcc5fece4831e8461429bfa0111b2b039a677e2", "rev": "a1eb614655eb16d837671cff1e2de8dd3aee0d04",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -127,11 +127,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1694672497, "lastModified": 1694931580,
"narHash": "sha256-vOW9rupO3zxmRMXNx4K2TXNP8BN3/7rcE4NVQjzw0UI=", "narHash": "sha256-S05uPvgL4TyE8CWSv9H65F1Fsh0kz6BmrGRUI1K1C8s=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "6cfe8bcc4995a58e04159c301a1d90f3e8582aa1", "rev": "9f7ae8cf9a4886627b4db257183231d372690012",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -164,7 +164,7 @@
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://flakehub.com/f/DeterminateSystems/fh/%2A.tar.gz" "url": "https://flakehub.com/f/DeterminateSystems/fh/%3D0.1.3.tar.gz"
} }
}, },
"flake-compat": { "flake-compat": {
@ -268,11 +268,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1694497842, "lastModified": 1694810318,
"narHash": "sha256-z03v/m0OwcLBok97KcUgMl8ZFw5Xwsi2z+n6nL7JdXY=", "narHash": "sha256-LuvrVj2oj9TzdnnwtQUClqcXjpgwCP01FFVBM7azGV8=",
"owner": "LnL7", "owner": "LnL7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "4496ab26628c5f43d2a5c577a06683c753e32fe2", "rev": "80bb201f4925cdda5a7a3c7b1900fb26bb2af2e8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -283,11 +283,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1694593561, "lastModified": 1694760568,
"narHash": "sha256-WSaIQZ5s9N9bDFkEMTw6P9eaZ9bv39ZhsiW12GtTNM0=", "narHash": "sha256-3G07BiXrp2YQKxdcdms22MUx6spc6A++MSePtatCYuI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1697b7d480449b01111e352021f46e5879e47643", "rev": "46688f8eb5cd6f1298d873d4d2b9cf245e09e88e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -338,11 +338,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1694635326, "lastModified": 1694882901,
"narHash": "sha256-oYA1HZCoxHS1i5qMja1j/kx/UjShCqzQMB6Z3nIHOaI=", "narHash": "sha256-ps6eZmuSXV48jzwBB3c0jiS5FKQAxdKLeo3Zc2Nuh5M=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "089ae47ebe58faf749b952f5d064078c74ea1e29", "rev": "9d0ccf01a16f4ab72417a804c5a7414f312d95a0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -362,11 +362,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1694657451, "lastModified": 1694916722,
"narHash": "sha256-cRZa9ZmUi0EFKcmzpsOXLVhiMQD8XLrku8v+U1YiGm8=", "narHash": "sha256-DBxuPOyhaHw3WY6s2KsaGyGrOkvmuiORC4DjIz8XTbM=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "7c4f46f0b3597e3c4663285e6794194e55574879", "rev": "9d34219b9788fb5cde6f5b5759211d606f5131ec",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -47,7 +47,7 @@
}; };
fh = { fh = {
url = "https://flakehub.com/f/DeterminateSystems/fh/*.tar.gz"; url = "https://flakehub.com/f/DeterminateSystems/fh/=0.1.3.tar.gz";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.fenix.follows = "fenix"; inputs.fenix.follows = "fenix";
inputs.naersk.follows = "naersk"; inputs.naersk.follows = "naersk";

BIN
icons/obsidian.icns Normal file

Binary file not shown.

BIN
icons/things.icns Normal file

Binary file not shown.

View file

@ -2,25 +2,25 @@
flavors = [ flavors = [
{ {
flavor = "latte"; flavor = "latte";
sha256 = "sha256-V0LsRStF1vL+Tz8G6VaKiwiY/ZIsSkMc+f1WJAITYXU="; hash = "sha256-V0LsRStF1vL+Tz8G6VaKiwiY/ZIsSkMc+f1WJAITYXU=";
} }
{ {
flavor = "frappe"; flavor = "frappe";
sha256 = "sha256-YOatgYCJKuesVERHZVmF1xtzuLjyxCYstoWYqATq+NU="; hash = "sha256-YOatgYCJKuesVERHZVmF1xtzuLjyxCYstoWYqATq+NU=";
} }
{ {
flavor = "macchiato"; flavor = "macchiato";
sha256 = "sha256-CeSJvhjzHVTtlqgQLKOrdLXtp2OQlMh24IaA1QQiQCk="; hash = "sha256-CeSJvhjzHVTtlqgQLKOrdLXtp2OQlMh24IaA1QQiQCk=";
} }
{ {
flavor = "mocha"; flavor = "mocha";
sha256 = "sha256-Tx2fQteL4wxhV+qHYZibakiYoEhS4HjyMO0yBcU/F6Q="; hash = "sha256-Tx2fQteL4wxhV+qHYZibakiYoEhS4HjyMO0yBcU/F6Q=";
} }
]; ];
in { in {
ctp-glamour = builtins.listToAttrs (builtins.map ({ ctp-glamour = builtins.listToAttrs (builtins.map ({
flavor, flavor,
sha256, hash,
}: { }: {
name = flavor; name = flavor;
value = prev.callPackage ( value = prev.callPackage (
@ -34,7 +34,7 @@ in {
src = fetchurl { src = fetchurl {
url = "https://github.com/catppuccin/glamour/releases/download/v${version}/${flavor}.json"; url = "https://github.com/catppuccin/glamour/releases/download/v${version}/${flavor}.json";
inherit sha256; inherit hash;
}; };
unpackPhase = '' unpackPhase = ''

View file

@ -25,6 +25,14 @@
path = "/Applications/Notion.app"; path = "/Applications/Notion.app";
icon = ./icons/notion.icns; icon = ./icons/notion.icns;
} }
{
path = "/Applications/Things.app";
icon = ./icons/things.icns;
}
{
path = "/Applications/Obsidian.app";
icon = ./icons/obsidian.icns;
}
]; ];
}; };