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"
|
"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": {
|
"devshell": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": [
|
"flake-utils": [
|
||||||
|
|
@ -549,6 +566,7 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"breezex-cursor": "breezex-cursor",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
|
|
|
||||||
|
|
@ -16,13 +16,21 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
stylix.url = "github:danth/stylix";
|
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
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
inputs.nixvim-flake = nixvim-flake;
|
inputs = {
|
||||||
|
inherit nixvim-flake;
|
||||||
|
};
|
||||||
|
inherit breezex-cursor;
|
||||||
in {
|
in {
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
t470 = home-manager.lib.homeManagerConfiguration {
|
t470 = home-manager.lib.homeManagerConfiguration {
|
||||||
|
|
@ -35,7 +43,7 @@
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
];
|
];
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs;
|
inherit inputs breezex-cursor system;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
{ breezex-cursor, system, ... }:
|
||||||
{
|
{
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -7,5 +8,10 @@
|
||||||
# fix wallpaper set error when not running under kde plasma
|
# fix wallpaper set error when not running under kde plasma
|
||||||
# see https://github.com/danth/stylix/issues/340
|
# see https://github.com/danth/stylix/issues/340
|
||||||
targets.kde.enable = false;
|
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