alpha
Login
or
Join now
seanaye.bsky.social
/
nixos-config
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
me like nix
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
add font
author
Sean Aye
date
3 months ago
(Mar 22, 2026, 8:03 PM -0400)
commit
1060cc69
1060cc69d59fdffb3d694cf96e9e77fe239d2481
parent
f8303aaf
f8303aaf334618cf55f8a14b713effbe7401e597
change-id
qlxzsvpv
qlxzsvpvznpmwwxwptpptqvovzrlurvz
+50
-1
4 changed files
Expand all
Collapse all
Unified
Split
berkely-mono
berkeley.nix
hosts
common
common.nix
home.nix
waybar
style.css
+20
berkely-mono/berkeley.nix
Reviewed
···
1
1
+
{ pkgs }:
2
2
+
3
3
+
pkgs.stdenv.mkDerivation {
4
4
+
pname = "berkeley-mono-typeface";
5
5
+
version = "2.003";
6
6
+
7
7
+
src = ./patched;
8
8
+
9
9
+
dontUnpack = true;
10
10
+
11
11
+
installPhase = ''
12
12
+
runHook preInstall
13
13
+
14
14
+
install -Dm644 $src/*.ttf -t $out/share/fonts/truetype
15
15
+
runHook postInstall
16
16
+
'';
17
17
+
18
18
+
# Add fontconfig as a build input
19
19
+
nativeBuildInputs = [ pkgs.fontconfig ];
20
20
+
}
+20
hosts/common/common.nix
Reviewed
···
1
1
{ pkgs, ... }:
2
2
3
3
+
let
4
4
+
berkeley-mono-typeface = pkgs.callPackage ../../berkely-mono/berkeley.nix { };
5
5
+
in
3
6
{
4
7
5
8
nix.settings.experimental-features = [
···
40
43
LC_PAPER = "en_US.UTF-8";
41
44
LC_TELEPHONE = "en_US.UTF-8";
42
45
LC_TIME = "en_US.UTF-8";
46
46
+
};
47
47
+
48
48
+
# Font configuration
49
49
+
fonts = {
50
50
+
fontDir.enable = true;
51
51
+
fontconfig = {
52
52
+
enable = true;
53
53
+
defaultFonts = {
54
54
+
monospace = [
55
55
+
"BerkeleyMono Nerd Font"
56
56
+
"BerkeleyMono"
57
57
+
];
58
58
+
};
59
59
+
};
60
60
+
packages = with pkgs; [
61
61
+
berkeley-mono-typeface
62
62
+
];
43
63
};
44
64
45
65
programs.niri = {
+9
hosts/common/home.nix
Reviewed
···
413
413
glycin-loaders # various format loaders for loupe
414
414
415
415
# --- FONTS ARE IMPORTANT ---
416
416
+
# Berkeley Mono is the main system font, keeping JetBrains and Font Awesome for waybar
417
417
+
font-awesome
416
418
noto-fonts
417
419
noto-fonts-cjk-sans
418
420
noto-fonts-emoji
···
519
521
window = {
520
522
decorations = "none";
521
523
opacity = 0.9;
524
524
+
};
525
525
+
font = {
526
526
+
normal = {
527
527
+
family = "BerkeleyMono Nerd Font";
528
528
+
style = "Regular";
529
529
+
};
530
530
+
size = 12.0;
522
531
};
523
532
};
524
533
+1
-1
hosts/common/waybar/style.css
Reviewed
···
1
1
* {
2
2
-
font-family: "JetBrainsMono Nerd Font", "Font Awesome 6 Free", monospace;
2
2
+
font-family: "BerkeleyMono Nerd Font", "Font Awesome 6 Free", monospace;
3
3
font-size: 14px;
4
4
min-height: 0;
5
5
}