cursor: try (and fail) to set cursor theme
This commit is contained in:
parent
9eba1a0ba6
commit
b4a69ee0a8
3 changed files with 35 additions and 3 deletions
18
home-manager/flake.lock
generated
18
home-manager/flake.lock
generated
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue