Compare commits

..

2 Commits

Author SHA1 Message Date
6ba082e672
stylix: move to hyprland module
Some checks failed
Check flake / build-amd64-linux (push) Failing after 2m22s
2025-04-18 16:42:27 +01:00
dc700042fd
apple-color-emoji: init at 18.4 2025-04-18 15:51:38 +01:00
5 changed files with 61 additions and 27 deletions

View File

@ -1,6 +1,5 @@
{
inputs,
config,
pkgs,
...
}:
@ -53,28 +52,6 @@
systemd.services.NetworkManager-wait-online.enable = false;
stylix = {
enable = true;
autoEnable = false;
image = config.lib.stylix.pixel "base00";
polarity = "dark";
# colors, dracula, eris, google-dark, framer, horizon-terminal-dark, humanoid-dark, isotope, onedark-dark, spacemacs, windows-nt
base16Scheme = "${pkgs.base16-schemes}/share/themes/colors.yaml";
cursor = {
name = "Adwaita";
package = pkgs.adwaita-icon-theme;
};
fonts = {
sansSerif = {
name = "Segoe UI";
package = pkgs.segoe-ui-ttf;
};
};
};
fonts.packages = with pkgs; [
noto-fonts
(nerdfonts.override {

View File

@ -1,4 +1,5 @@
{
pkgs,
config,
lib,
...
@ -23,5 +24,33 @@ in
enable = true;
# withUWSM = true;
};
nixpkgs.config.allowUnfree = true;
stylix = {
enable = true;
autoEnable = false;
image = config.lib.stylix.pixel "base00";
polarity = "dark";
# colors, dracula, eris, google-dark, framer, horizon-terminal-dark, humanoid-dark, isotope, onedark-dark, spacemacs, windows-nt
base16Scheme = "${pkgs.base16-schemes}/share/themes/colors.yaml";
cursor = {
name = "macOS";
package = pkgs.apple-cursor;
};
fonts = {
sansSerif = {
name = "SF Pro Text";
package = pkgs.sf-pro;
};
emoji = {
name = "Apple Color Emoji";
package = pkgs.apple-color-emoji;
};
};
};
};
}

View File

@ -0,0 +1,28 @@
{
stdenv,
fetchurl,
lib,
}:
stdenv.mkDerivation rec {
pname = "apple-color-emoji";
version = "18.4";
src = fetchurl {
url = "https://github.com/samuelngs/apple-emoji-linux/releases/download/v${version}/AppleColorEmoji.ttf";
hash = "sha256-pP0He9EUN7SUDYzwj0CE4e39SuNZ+SVz7FdmUviF6r0=";
};
dontUnpack = true;
installPhase = ''
install -Dm644 $src -t $out/share/fonts/truetype
'';
meta = {
description = "Apple Color Emoji for Linux";
longDescription = "Brings Apple's vibrant emojis to your Linux experience";
homepage = "https://github.com/samuelngs/apple-emoji-linux";
license = lib.licenses.unfree;
platforms = lib.platforms.unix;
};
}

View File

@ -18,10 +18,6 @@
./hyprland
];
fonts.fontconfig.defaultFonts.sansSerif = [
"Segoe UI"
];
home.packages = with pkgs; [
# ardour
# audacity

View File

@ -18,6 +18,10 @@ in
./waybar.nix
];
fonts.fontconfig.defaultFonts.sansSerif = [
"SF Pro Text"
];
wayland.windowManager.hyprland = {
enable = true;
# plugins = [ hypr-dynamic-cursors ]; # https://github.com/VirtCode/hypr-dynamic-cursors