summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.lock61
-rw-r--r--flake.nix4
-rw-r--r--modules/desktops/hyprland/default.nix4
-rw-r--r--modules/desktops/hyprland/env.nix3
4 files changed, 71 insertions, 1 deletions
diff --git a/flake.lock b/flake.lock
index 405f8bc..2ab727c 100644
--- a/flake.lock
+++ b/flake.lock
@@ -115,7 +115,7 @@
},
"flake-utils": {
"inputs": {
- "systems": "systems_2"
+ "systems": "systems_3"
},
"locked": {
"lastModified": 1731533236,
@@ -567,10 +567,36 @@
"hyprland-plugins": "hyprland-plugins",
"nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs",
+ "rose-pine-hyprcursor": "rose-pine-hyprcursor",
"sops-nix": "sops-nix",
"talc": "talc"
}
},
+ "rose-pine-hyprcursor": {
+ "inputs": {
+ "hyprlang": [
+ "hyprland",
+ "hyprlang"
+ ],
+ "nixpkgs": [
+ "nixpkgs"
+ ],
+ "utils": "utils"
+ },
+ "locked": {
+ "lastModified": 1748096947,
+ "narHash": "sha256-ouuA8LVBXzrbYwPW2vNjh7fC9H2UBud/1tUiIM5vPvM=",
+ "owner": "ndom91",
+ "repo": "rose-pine-hyprcursor",
+ "rev": "4b02963d0baf0bee18725cf7c5762b3b3c1392f1",
+ "type": "github"
+ },
+ "original": {
+ "owner": "ndom91",
+ "repo": "rose-pine-hyprcursor",
+ "type": "github"
+ }
+ },
"sf-arabic": {
"flake": false,
"locked": {
@@ -705,6 +731,21 @@
"type": "github"
}
},
+ "systems_3": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
"talc": {
"inputs": {
"flake-utils": "flake-utils",
@@ -726,6 +767,24 @@
"url": "https://g.trimill.xyz/talc"
}
},
+ "utils": {
+ "inputs": {
+ "systems": "systems_2"
+ },
+ "locked": {
+ "lastModified": 1710146030,
+ "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
"xdph": {
"inputs": {
"hyprland-protocols": [
diff --git a/flake.nix b/flake.nix
index ee49433..0015bcd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -31,6 +31,10 @@
# nixos-wsl
nixos-wsl.url = "github:nix-community/nixos-wsl";
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
+ # rose-pine-hyprcursor
+ rose-pine-hyprcursor.url = "github:ndom91/rose-pine-hyprcursor";
+ rose-pine-hyprcursor.inputs.nixpkgs.follows = "nixpkgs";
+ rose-pine-hyprcursor.inputs.hyprlang.follows = "hyprland/hyprlang";
};
outputs = {
diff --git a/modules/desktops/hyprland/default.nix b/modules/desktops/hyprland/default.nix
index 56eef35..890972a 100644
--- a/modules/desktops/hyprland/default.nix
+++ b/modules/desktops/hyprland/default.nix
@@ -21,6 +21,10 @@ in {
desktops.wayland = true;
default.session = mkDefault "hyprland-session.target";
+ environment.systemPackages = [
+ inputs.rose-pine-hyprcursor.packages.${system}.default
+ ];
+
xdg.portal = {
extraPortals = [
inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland
diff --git a/modules/desktops/hyprland/env.nix b/modules/desktops/hyprland/env.nix
index 2d79da5..93d99fb 100644
--- a/modules/desktops/hyprland/env.nix
+++ b/modules/desktops/hyprland/env.nix
@@ -6,6 +6,9 @@
"XDG_SESSION_TYPE,wayland"
"XDG_SESSION_DESKTOP,Hyprland"
"MOZ_ENABLE_WAYLAND,1"
+
+ "HYPRCURSOR_THEME,rose-pine-hyprcursor"
+ "HYPRCURSOR_SIZE,24"
];
};
};