Fixed firefox emoji issue (finally lmao)

This commit is contained in:
2025-08-29 16:35:35 +03:00
parent 6f73e93b72
commit a142fc910f
6 changed files with 31 additions and 36 deletions

View File

@@ -345,7 +345,7 @@ plugin {
bar_height = 28
bar_color = rgb(1e1e1e)
bar_precedence_over_border = true
bar_text_font = JetBrainsMono NF
#bar_text_font = JetBrainsMono Nerd Font
# hyprbars-button = color, size, on-click
hyprbars-button = rgb(f16265), 18, , hyprctl dispatch killactive

17
flake.lock generated
View File

@@ -507,22 +507,6 @@
"type": "github"
}
},
"nixpkgs-emoji-pin": {
"locked": {
"lastModified": 1727390236,
"narHash": "sha256-X2LaWM0WwoxUfu7cQmKyVbkYn0xwdRvBA+vkLg/OgnI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ab7b6889ae9d484eed2876868209e33eb262511d",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ab7b6889ae9d484eed2876868209e33eb262511d",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1756266583,
@@ -586,7 +570,6 @@
"hyprland": "hyprland",
"hyprland-plugins": "hyprland-plugins",
"nixpkgs": "nixpkgs_3",
"nixpkgs-emoji-pin": "nixpkgs-emoji-pin",
"sops-nix": "sops-nix",
"zen-browser": "zen-browser"
}

View File

@@ -3,7 +3,6 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-emoji-pin.url = "github:NixOS/nixpkgs/ab7b6889ae9d484eed2876868209e33eb262511d";
home-manager = {
url = "github:nix-community/home-manager";
@@ -35,7 +34,7 @@
dolphin-overlay.url = "github:rumboon/dolphin-overlay";
};
outputs = { self, nixpkgs, nixpkgs-emoji-pin, ... }@inputs: {
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations = {
laptop = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
@@ -49,9 +48,9 @@
./hosts/lapsktop.nix
];
};
kyren-desktop = nixpkgs.lib.nixosSystem rec {
kyren-desktop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; pkgs-emoji-pin = import nixpkgs-emoji-pin { inherit system; config.allowUnfree = true; }; };
specialArgs = { inherit inputs; };
modules = [
./hosts/desktop.nix
];

View File

@@ -3,7 +3,6 @@
imports = [
inputs.sops-nix.nixosModules.sops
../modules/apps.nix
../modules/overrides.nix
../modules/display.nix
../modules/networking.nix
../modules/development.nix
@@ -40,6 +39,31 @@
"en_IL/UTF-8"
];
# Fonts
fonts = {
packages = with pkgs; [
noto-fonts
noto-fonts-emoji
noto-fonts-color-emoji
liberation_ttf
fira-code
fira-code-symbols
font-awesome
nerd-fonts.jetbrains-mono
];
fontconfig = {
defaultFonts = {
# serif = [ "Liberation Serif" "Vazirmatn" ];
# sansSerif = [ "Ubuntu" "Vazirmatn" ];
monospace = [ "JetBrainsMono Nerd Font" ];
};
};
};
# Fix for noto color emoji not rendering in firefox-based browsers
fonts.fontconfig.useEmbeddedBitmaps = true;
# Allow sudo without a password if in "wheel" group.
security.sudo.wheelNeedsPassword = false;

View File

@@ -27,11 +27,8 @@
libnotify
wl-clipboard
jdk
noto-fonts
dejavu_fonts
font-awesome
material-design-icons
nerd-fonts.jetbrains-mono
libratbag # Mouse software (GHUB replacement)
piper # ^ GUI frontend
@@ -70,6 +67,7 @@
kdePackages.gwenview
kdePackages.ark
kdePackages.xwaylandvideobridge
grim
# Communication
wasistlos # Whatsapp
@@ -79,7 +77,6 @@
# Terminal
ghostty
kitty # Temp for hyprland
nerd-fonts.jetbrains-mono
oh-my-posh
tmux
neovim

View File

@@ -1,8 +0,0 @@
{ pkgs-emoji-pin, ... }: {
environment.systemPackages = [
pkgs-emoji-pin.noto-fonts-color-emoji
pkgs-emoji-pin.librewolf
];
}