Compare commits

..

3 Commits

Author SHA1 Message Date
cd2f404b63
sf-pro: init
Some checks failed
Check flake / build-amd64-linux (push) Failing after 23s
2025-04-14 21:17:37 +01:00
f031102ab9
hyprland: add flameshot and unclutter 2025-04-14 20:34:01 +01:00
99cb1d8f66
stylix: use apple cursor 2025-04-14 20:32:59 +01:00
3 changed files with 37 additions and 2 deletions

View File

@ -63,8 +63,8 @@
base16Scheme = "${pkgs.base16-schemes}/share/themes/colors.yaml";
cursor = {
name = "Adwaita";
package = pkgs.adwaita-icon-theme;
name = "macOS-Monterey";
package = pkgs.apple-cursor;
};
fonts = {

29
pkgs/sf-pro/package.nix Normal file
View File

@ -0,0 +1,29 @@
{
stdenv,
fetchFromGitHub,
lib,
}:
stdenv.mkDerivation {
pname = "sf-pro";
version = "unstable-2021-06-22";
src = fetchFromGitHub {
owner = "sahibjotsaggu";
repo = "San-Francisco-Pro-Fonts";
rev = "8bfea09aa6f1139479f80358b2e1e5c6dc991a58";
sha256 = "sha256-mAXExj8n8gFHq19HfGy4UOJYKVGPYgarGd/04kUIqX4=";
};
installPhase = ''
mkdir -p $out/share/fonts/opentype
mkdir -p $out/share/fonts/truetype
install -m644 $src/*.otf $out/share/fonts/opentype/
install -m644 $src/*.ttf $out/share/fonts/truetype/
'';
meta = {
description = "San Francisco Pro fonts";
homepage = "https://github.com/sahibjotsaggu/San-Francisco-Pro-Fonts";
license = lib.licenses.unfree;
};
}

View File

@ -20,6 +20,7 @@ in
wayland.windowManager.hyprland = {
enable = true;
# plugins = [ hypr-dynamic-cursors ]; # https://github.com/VirtCode/hypr-dynamic-cursors
settings = {
env =
optionals (elem "nvidia" osConfig.services.xserver.videoDrivers) [
@ -207,5 +208,10 @@ in
wl-clipboard
];
services = {
flameshot.enable = true;
unclutter.enable = true;
};
services.gpg-agent.pinentryPackage = pkgs.pinentry-gnome3;
}