Skip to content

Commit 3a74551

Browse files
committed
🔤 fonts module & packages reorganization: centralize user tools
Extract common packages from hosts into user profile, add modular fonts.nix with corefonts/liberation/noto stack.
1 parent 5ea1b96 commit 3a74551

5 files changed

Lines changed: 18 additions & 7 deletions

File tree

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
(./hosts + "/${hostName}/default.nix")
4444
./modules/docker.nix
4545
./modules/flatpak.nix
46+
./modules/fonts.nix
4647
cpuModule
4748
/etc/nixos/configuration.nix
4849
/etc/nixos/hardware-configuration.nix

hosts/potatoLaptop/default.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@
9898
};
9999

100100
environment.systemPackages = with pkgs; [
101-
exfat
102-
exfatprogs
103-
kdePackages.partitionmanager
104101
unstable.heroic
105102
unstable.prismlauncher
106103
unstable.protonup-qt

hosts/potatoWork/default.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@
9090

9191
environment.systemPackages = with pkgs; [
9292
anydesk
93-
exfat
94-
exfatprogs
95-
kdePackages.partitionmanager
9693
unstable.mattermost-desktop
9794
unstable.rustdesk-flutter
9895
];

modules/fonts.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{ config, pkgs, ... }:
2+
{
3+
fonts.packages = with pkgs; [
4+
corefonts
5+
dejavu_fonts
6+
freefont_ttf
7+
liberation_ttf
8+
noto-fonts
9+
noto-fonts-cjk-sans
10+
noto-fonts-cjk-serif
11+
noto-fonts-color-emoji
12+
unifont
13+
];
14+
}

profiles/user/ponfertato/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@
3737
android-tools
3838
appimage-run
3939
audacity
40-
corefonts
4140
curl
41+
exfat
42+
exfatprogs
4243
gimp
4344
git
4445
kdePackages.kate
46+
kdePackages.partitionmanager
4547
kdePackages.tokodon
4648
krita
4749
lazygit

0 commit comments

Comments
 (0)