diff --git a/flake.lock b/flake.lock index 653a96a..90a0ff4 100644 --- a/flake.lock +++ b/flake.lock @@ -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", diff --git a/flake.nix b/flake.nix index 6a72eeb..206518c 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; diff --git a/option/Style.nix b/option/Style.nix index eeebac4..1b69ed0 100644 --- a/option/Style.nix +++ b/option/Style.nix @@ -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 = {