diff --git a/home-manager/flake.lock b/home-manager/flake.lock index 7a31f68..9322c7d 100644 --- a/home-manager/flake.lock +++ b/home-manager/flake.lock @@ -114,6 +114,23 @@ "type": "github" } }, + "breezex-cursor": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1, + "narHash": "sha256-vyyg/1Gp9O56r/Bn47nAw9KxXaoH9ONqDUOO02p39zY=", + "path": "./breezex-cursor", + "type": "path" + }, + "original": { + "path": "./breezex-cursor", + "type": "path" + } + }, "devshell": { "inputs": { "flake-utils": [ @@ -549,6 +566,7 @@ }, "root": { "inputs": { + "breezex-cursor": "breezex-cursor", "home-manager": "home-manager", "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable", diff --git a/home-manager/flake.nix b/home-manager/flake.nix index 0dd111e..f9f0b1f 100644 --- a/home-manager/flake.nix +++ b/home-manager/flake.nix @@ -16,13 +16,21 @@ }; stylix.url = "github:danth/stylix"; + + breezex-cursor = { + url = "path:./breezex-cursor"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = { nixpkgs, home-manager, nixvim-flake, stylix, ... }: + outputs = { nixpkgs, home-manager, nixvim-flake, stylix, breezex-cursor, ... }: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; }; - inputs.nixvim-flake = nixvim-flake; + inputs = { + inherit nixvim-flake; + }; + inherit breezex-cursor; in { homeConfigurations = { t470 = home-manager.lib.homeManagerConfiguration { @@ -35,7 +43,7 @@ ./stylix.nix ]; extraSpecialArgs = { - inherit inputs; + inherit inputs breezex-cursor system; }; }; }; diff --git a/home-manager/stylix.nix b/home-manager/stylix.nix index 40d8ea9..7e387ff 100644 --- a/home-manager/stylix.nix +++ b/home-manager/stylix.nix @@ -1,3 +1,4 @@ +{ breezex-cursor, system, ... }: { stylix = { enable = true; @@ -7,5 +8,10 @@ # fix wallpaper set error when not running under kde plasma # see https://github.com/danth/stylix/issues/340 targets.kde.enable = false; + + cursor = { + package = breezex-cursor.packages.${system}.default; + name = "BreezeX-Light"; + }; }; }