My Nix Infra
nix nixos
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

just use plain hyprlock config & noto font -> source han font

ydcjeff df87405e 6e3e7481

+53 -80
+35 -75
config/hypr/hyprlock.conf
··· 1 1 source = $HOME/.config/hypr/frappe.conf 2 2 3 - $accent = $mauve 4 - $accentAlpha = $mauveAlpha 5 - $font = JetBrainsMono Nerd Font 3 + $accent = $blue 4 + $accentAlpha = $blueAlpha 5 + $font = Source Han Serif 6 6 7 - # GENERAL 8 7 general { 9 - hide_cursor = true 8 + hide_cursor = true 10 9 } 11 10 12 - # BACKGROUND 13 11 background { 14 - monitor = 15 - path = $HOME/.dotfiles/wallpapers/wallhaven-m3j7q9.png 16 - blur_passes = 3 17 - color = $base 12 + monitor = 13 + path = $HOME/.dotfiles/wallpapers/wallhaven-m3j7q9.png 14 + blur_passes = 3 15 + color = $base 18 16 } 19 17 20 - # LAYOUT 21 18 label { 22 - monitor = 23 - text = Layout: $LAYOUT 24 - color = $text 25 - font_size = 25 26 - font_family = $font 27 - position = 30, -30 28 - halign = left 29 - valign = top 30 - } 31 - 32 - # TIME 33 - label { 34 - monitor = 35 - text = $TIME 36 - color = $text 37 - font_size = 90 38 - font_family = $font 39 - position = -30, 0 40 - halign = right 41 - valign = top 42 - } 43 - 44 - # DATE 45 - label { 46 - monitor = 47 - text = cmd[update:43200000] date +"%A, %d %B %Y" 48 - color = $text 49 - font_size = 25 50 - font_family = $font 51 - position = -30, -150 52 - halign = right 53 - valign = top 54 - } 55 - 56 - # FINGERPRINT 57 - { 58 - monitor = ""; 59 - text = "$FPRINTPROMPT"; 60 - color = "$text"; 61 - font_size = 14; 62 - font_family = $font; 63 - position = "0, -107"; 64 - halign = "center"; 65 - valign = "center"; 19 + monitor = 20 + text = cmd[update:60000] date +"%F %A %R" 21 + color = $text 22 + font_size = 50 23 + font_family = $font 24 + position = 0, 200 25 + halign = center 26 + valign = center 66 27 } 67 28 68 - # INPUT FIELD 69 29 input-field { 70 - monitor = 71 - size = 300, 60 72 - outline_thickness = 4 73 - dots_size = 0.2 74 - dots_spacing = 0.2 75 - dots_center = true 76 - outer_color = $accent 77 - inner_color = $surface0 78 - font_color = $text 79 - fade_on_empty = false 80 - placeholder_text = <span foreground="##$textAlpha"><i>󰌾 Logged in as </i><span foreground="##$accentAlpha">$USER</span></span> 81 - hide_input = false 82 - check_color = $accent 83 - fail_color = $red 84 - fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> 85 - capslock_color = $yellow 86 - position = 0, 0 87 - halign = center 88 - valign = center 30 + monitor = 31 + size = 300, 60 32 + outline_thickness = 4 33 + dots_size = 0.2 34 + dots_spacing = 0.2 35 + dots_center = true 36 + outer_color = $accent 37 + inner_color = $surface0 38 + font_color = $text 39 + fade_on_empty = false 40 + placeholder_text = <span foreground="##$textAlpha"><i>󰌾 Logged in as </i><span foreground="##$accentAlpha">$USER</span></span> 41 + hide_input = false 42 + check_color = $accent 43 + fail_color = $red 44 + fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> 45 + capslock_color = $yellow 46 + position = 0, 0 47 + halign = center 48 + valign = center 89 49 } 90 50
+18 -5
modules/nixos.nix
··· 39 39 packages = with pkgs; [ 40 40 font-awesome 41 41 42 - noto-fonts 43 - noto-fonts-cjk-serif 44 - noto-fonts-cjk-sans 42 + # noto-fonts 43 + # noto-fonts-cjk-serif 44 + # noto-fonts-cjk-sans 45 45 noto-fonts-color-emoji 46 + 47 + source-sans 48 + source-serif 49 + source-han-sans 50 + source-han-serif 46 51 47 52 jetbrains-mono 53 + nerd-fonts.symbols-only 48 54 nerd-fonts.jetbrains-mono 49 55 ]; 50 56 51 57 fontconfig.defaultFonts = { 52 58 serif = [ 53 - "Noto Serif" 59 + "Source Han Serif" 60 + "Source Han Serif JP" 61 + "Source Han Serif TC" 62 + "Source Han Serif SC" 54 63 "Noto Color Emoji" 55 64 ]; 56 65 sansSerif = [ 57 - "Noto Sans" 66 + "Source Han Sans" 67 + "Source Han Sans JP" 68 + "Source Han Sans TC" 69 + "Source Han Sans SC" 58 70 "Noto Color Emoji" 59 71 ]; 60 72 monospace = [ ··· 220 232 services.displayManager.sddm = { 221 233 enable = true; 222 234 wayland.enable = true; 235 + package = pkgs.kdePackages.sddm; 223 236 }; 224 237 225 238 services.xserver = {