This commit is contained in:
2025-09-04 16:35:23 +02:00
parent cb04e33c1c
commit f27bc65d9a
5 changed files with 62 additions and 3 deletions

53
home/fonts.nix Normal file
View File

@@ -0,0 +1,53 @@
{ pkgs, lib, config, ... }:
{
# Enable fontconfig (required for font settings)
fonts.fontconfig.enable = true;
# Install fonts
home.packages = with pkgs; [
# Main fonts
notonoto
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
#emoji
noto-fonts-color-emoji
noto-fonts-monochrome-emoji
noto-fonts-emoji-blob-bin
nerd-fonts.noto
nerd-fonts.hack
zpix-pixel-font
font-awesome_4
font-awesome_5
];
# Set default font families
fonts.fontconfig.defaultFonts = {
monospace = [
"Notonoto Mono"
"Noto Mono"
"FiraCode Nerd Font"
];
sansSerif = [
"Notonoto Sans"
"Noto Sans"
];
serif = [
"Notonoto Serif"
"Noto Serif"
];
emoji = [
"Noto Color Emoji"
"Noto Emoji"
"Noto Emoji Blob"
"Noto Monochrome Emoji"
];
};
}

View File

@@ -21,6 +21,7 @@
./niri.nix
./wallpapers.nix
./swww.nix
./fonts.nix
#applications
./mako.nix

View File

@@ -234,8 +234,8 @@ let
spawn-at-startup "xwayland-satellite"
spawn-at-startup "mako"
spawn-at-startup "swww-daemon"
spawn-at-startup "waybar"
spawn-at-startup "sh" "-c" "while true; do swww img -t random --transition-step 2 \"$(find ~/Pictures/wallpapers/ -type f | shuf -n 1)\"; sleep 270; done"
spawn-at-startup "sh" "-c" "while true; do waybar; done" //disabled to a systemd service. in a while because it sometimes crashes.
spawn-at-startup "sh" "-c" "while true; do swww img -f Nearest -t random --transition-step 2 \"$(find ~/Pictures/wallpapers/ -type f | shuf -n 1)\"; sleep 270; done"
// Uncomment this line to ask the clients to omit their client-side decorations if possible.

View File

@@ -1,6 +1,8 @@
{pkgs, ...}: {
home.packages = [
(pkgs.python312.withPackages (ppkgs: [
ppkgs.uv
ppkgs.pip
ppkgs.numpy
ppkgs.sympy
ppkgs.scipy
@@ -17,6 +19,9 @@
ppkgs.pillow
ppkgs.keras
ppkgs.tqdm
ppkgs.ipykernel
]))
];
}

View File

@@ -102,7 +102,7 @@ in
"pulseaudio": {
"format": "{volume}% {icon}",
"format-muted": "",
"format-icons": { "default": ["","",""] },
"format-icons": { "default": ["🔈","🔉","🔊"] },
"on-click": "pavucontrol"
},