Moved: fonts management to home manager; Removed: dulicated fonts.nix for nixos & darwin configurations

This commit is contained in:
2026-05-31 10:26:19 +02:00
parent 888264a491
commit 0cf4401813
7 changed files with 5 additions and 15 deletions
-1
View File
@@ -8,7 +8,6 @@
./settings.nix ./settings.nix
./homebrew.nix ./homebrew.nix
./yabai.nix ./yabai.nix
./fonts.nix
]; ];
home-manager.users.${primaryUser}.targets.darwin = { home-manager.users.${primaryUser}.targets.darwin = {
+1
View File
@@ -17,6 +17,7 @@
./xdg.nix ./xdg.nix
./neovim ./neovim
./python.nix ./python.nix
./fonts.nix
inputs.sops-nix.homeManagerModules.sops inputs.sops-nix.homeManagerModules.sops
] ]
++ lib.optionals (!isDarwin && !isServer) [ ++ lib.optionals (!isDarwin && !isServer) [
+4 -2
View File
@@ -1,9 +1,11 @@
# TODO: Duplicate file
{ pkgs, ... }: { pkgs, ... }:
{ {
fonts.packages = with pkgs; [ fonts.fontconfig.enable = true;
home.packages = with pkgs; [
nerd-fonts.fira-code nerd-fonts.fira-code
nerd-fonts.fira-mono nerd-fonts.fira-mono
nerd-fonts.hack nerd-fonts.hack
]; ];
} }
-1
View File
@@ -1,4 +1,3 @@
# TODO: Remove; nodePackages is unmaintained inside nixpkgs
{ pkgs, ... }: { pkgs, ... }:
{ {
# Live Server: Auto-reload browser for web development # Live Server: Auto-reload browser for web development
-1
View File
@@ -160,7 +160,6 @@
]; ];
}; };
# TODO: Install OpenCode
programs.nushell = { programs.nushell = {
enable = true; enable = true;
-1
View File
@@ -9,7 +9,6 @@
}: }:
{ {
imports = [ imports = [
./fonts.nix
./sops.nix ./sops.nix
./locale.nix ./locale.nix
./tailscale.nix ./tailscale.nix
-9
View File
@@ -1,9 +0,0 @@
# TODO: Duplicate file
{ pkgs, ... }:
{
fonts.packages = with pkgs; [
nerd-fonts.fira-code
nerd-fonts.fira-mono
nerd-fonts.hack
];
}