add: provide hyprcursor theme

This commit is contained in:
Kiana Sheibani 2024-11-04 16:16:40 -05:00
parent 9e441be7c5
commit 539429e421
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
4 changed files with 37 additions and 2 deletions

View file

@ -1,5 +1,14 @@
{ config, pkgs, lib, ... }: { pkgs, lib, macos-hyprcursor-src, ... }:
{ let
macos-hyprcursor = pkgs.stdenv.mkDerivation {
name = "macos-hyprcursor";
src = macos-hyprcursor-src;
installPhase = ''
mkdir -p $out/share/icons
cp -R themes/SVG/"macOS (SVG)" $out/share/icons/macos
'';
};
in {
environment.systemPackages = with pkgs; environment.systemPackages = with pkgs;
let aspell' = aspellWithDicts.override { let aspell' = aspellWithDicts.override {
aspell = aspell.overrideAttrs (super: { aspell = aspell.overrideAttrs (super: {
@ -26,6 +35,7 @@
playerctl playerctl
pamixer pamixer
ffmpeg ffmpeg
macos-hyprcursor
# System management # System management
htop-vim htop-vim

View file

@ -21,6 +21,22 @@
"type": "github" "type": "github"
} }
}, },
"macos-hyprcursor-src": {
"flake": false,
"locked": {
"lastModified": 1718363426,
"narHash": "sha256-UxmmzJABKJDRqwVkwSru+h06sOx9yp89L28PfgQDqsM=",
"owner": "driedpampas",
"repo": "macOS-hyprcursor",
"rev": "94b831a2ac5acb9162862efb84102c2b88dc1fa2",
"type": "github"
},
"original": {
"owner": "driedpampas",
"repo": "macOS-hyprcursor",
"type": "github"
}
},
"mobile-nixos": { "mobile-nixos": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -71,6 +87,7 @@
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"macos-hyprcursor-src": "macos-hyprcursor-src",
"mobile-nixos": "mobile-nixos", "mobile-nixos": "mobile-nixos",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",

View file

@ -15,6 +15,9 @@ inputs = {
tokyo-night-sddm-src.url = "github:rototrash/tokyo-night-sddm"; tokyo-night-sddm-src.url = "github:rototrash/tokyo-night-sddm";
tokyo-night-sddm-src.flake = false; tokyo-night-sddm-src.flake = false;
macos-hyprcursor-src.url = "github:driedpampas/macOS-hyprcursor";
macos-hyprcursor-src.flake = false;
}; };
outputs = { self, outputs = { self,
nixpkgs, nixpkgs,

View file

@ -23,6 +23,11 @@ in {
"$terminal" = terminal; "$terminal" = terminal;
"$menu" = "rofi -show drun"; "$menu" = "rofi -show drun";
env = [
"HYPRCURSOR_THEME,macos"
"HYPRCURSOR_SIZE,12"
];
general = { general = {
layout = "hy3"; layout = "hy3";