- Update lib/state-schema.nix to default both home and system themes to 'summer-night'.
- Fix 'nomarchy-theme-list' and 'nomarchy-theme-set-templates' to resolve themes and templates from '~/.local/share/nomarchy' instead of the obsolete '$NOMARCHY_PATH' (fixing failures on Live ISO).
- Update 'nomarchy-welcome' to properly convert Title Case theme display names back to kebab-case identifiers and add input validation to prevent crashes.
- Fix installer impermanence symlink by using a relative path ('../persist/etc/nixos'), ensuring it resolves during 'nixos-install' both inside and outside the chroot.
- Deploy '~/.XCompose' symlink via Home Manager and add 'nomarchy-restart-xcompose' to the menu.
- Relocate 'Nomarchy.ttf' to 'core/branding/' and move user-level scripts ('pkg-add', 'pkg-remove', 'env-update', 'preflight-migration') to 'features/scripts/utils/' to align with the distro architecture.
- Remove obsolete '$NOMARCHY_PATH' exports and redundant 'bashrc' template.
- Export theme templates via 'xdg.dataFile' for script accessibility.
26 lines
553 B
Nix
26 lines
553 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
nomarchy-font = pkgs.stdenv.mkDerivation {
|
|
pname = "nomarchy-font";
|
|
version = "1.0";
|
|
# Point directly to the font file
|
|
src = ./../branding/Nomarchy.ttf;
|
|
# No archive to unpack
|
|
unpackPhase = "true";
|
|
installPhase = ''
|
|
mkdir -p $out/share/fonts/truetype
|
|
cp $src $out/share/fonts/truetype/Nomarchy.ttf
|
|
'';
|
|
};
|
|
in
|
|
{
|
|
fonts.packages = [
|
|
nomarchy-font
|
|
pkgs.nerd-fonts.jetbrains-mono
|
|
pkgs.nerd-fonts.roboto-mono
|
|
pkgs.nerd-fonts.fira-code
|
|
pkgs.nerd-fonts.ubuntu-mono
|
|
];
|
|
}
|