altiosevka: pin

This commit is contained in:
Primrose 2025-05-20 11:02:45 +02:00
parent 3c6ea1f34c
commit c916ee362e
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
8 changed files with 7 additions and 18 deletions

View file

@ -34,7 +34,6 @@ in
overlays = map import [
../overlays
../overlays/packages.nix
../overlays/packagesStable.nix
];
# Set NIX_PATH and flake registry at the same time

View file

@ -40,7 +40,6 @@ in
overlays = map import [
../overlays
../overlays/packages.nix
../overlays/packagesStable.nix
./vanadium/nixos/overlay.nix
];

View file

@ -6,11 +6,11 @@
}: let
cfg = config.programs.kitty;
inherit (pkgs) myPkgs';
inherit (pkgs) myPkgs;
in {
config = lib.mkIf cfg.enable {
home.packages = [
myPkgs'.altiosevka-nerd-font-mono
myPkgs.altiosevka-nerd-font-mono
];
programs.kitty = lib.mkIf cfg.enable {

View file

@ -1,9 +0,0 @@
let
sources = import ../sources.nix;
in
_: _: {
myPkgs' = let
pkgs = import sources.nixpkgs-stable {};
in
pkgs.callPackages ../packages {};
}

View file

@ -4,7 +4,6 @@
...
}: let
inherit (pkgs) lib;
mkNerdFont = pkgs.callPackage ../lib/mkNerdFont.nix {};
mkHaskellPackage = {
src,
@ -25,9 +24,12 @@
};
infuse = lib.flip infuse-lib.v1.infuse;
iosevka-pin = import sources.pin-iosevka {};
mkNerdFont = iosevka-pin.callPackage ../lib/mkNerdFont.nix {};
in rec {
# fonts
altiosevka = pkgs.callPackage ./altiosevka {};
altiosevka = iosevka-pin.callPackage ./altiosevka {};
altiosevka-nerd-font-mono = mkNerdFont {
font = altiosevka;
extraArgs = [

View file

@ -109,7 +109,7 @@
"url": "https://github.com/NixOS/nixpkgs/archive/5d736263df906c5da72ab0f372427814de2f52f8.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs-stable": {
"pin-iosevka": {
"branch": "nixos-24.11",
"description": "Nix Packages collection & NixOS",
"homepage": "",