Style: Use nix-cursor Bibata Modern.

This commit is contained in:
Dmitry Voronin 2025-01-18 18:46:03 +03:00
parent c5e9dc3eb9
commit 1bc69d1bb0
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 38 additions and 2 deletions

View file

@ -202,6 +202,26 @@
"type": "github"
}
},
"nix-cursors": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1716041700,
"narHash": "sha256-4jDR/KQmtsDw/nCvpy9VvWQgtc+4R4eyrb8eJSz+KCw=",
"owner": "LilleAila",
"repo": "nix-cursors",
"rev": "d119b747e47a7a24660676f59c77272d664ec61e",
"type": "github"
},
"original": {
"owner": "LilleAila",
"repo": "nix-cursors",
"type": "github"
}
},
"nix-formatter-pack": {
"inputs": {
"nixpkgs": [
@ -754,6 +774,7 @@
"root": {
"inputs": {
"home-manager": "home-manager",
"nix-cursors": "nix-cursors",
"nix-on-droid": "nix-on-droid",
"nixpkgs": "nixpkgs",
"nixpkgsJobber": "nixpkgsJobber",

View file

@ -29,6 +29,12 @@
};
};
# SOURCE: https://github.com/LilleAila/nix-cursors
nix-cursors = {
url = "github:LilleAila/nix-cursors";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgsJobber.url = "github:nixos/nixpkgs/051f920625ab5aabe37c920346e3e69d7d34400e";
poetry2nixJobber.url = "github:nix-community/poetry2nix/304f8235fb0729fd48567af34fcd1b58d18f9b95";

View file

@ -74,10 +74,19 @@ in
};
cursor = {
name = mkStrOption "phinger-cursors-light";
package = mkPkgOption pkgs.phinger-cursors;
name = mkStrOption "Bibata-Modern-Custom";
size = mkIntOption 24;
package = mkPkgOption (inputs.nix-cursors.packages.${pkgs.system}.bibata-modern-cursor.override {
accent_color = "#${cfg.color.accent}";
background_color = "#${cfg.color.bg.light}";
outline_color = "#${cfg.color.border}";
});
};
# cursor = {
# name = mkStrOption "phinger-cursors-light";
# package = mkPkgOption pkgs.phinger-cursors;
# size = mkIntOption 24;
# };
font = {
emoji = {