mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
altiosevka: pin
This commit is contained in:
parent
3c6ea1f34c
commit
c916ee362e
8 changed files with 7 additions and 18 deletions
1
Justfile
1
Justfile
|
|
@ -33,7 +33,6 @@ env name action profilePath="~/.environments":
|
||||||
overlays = [
|
overlays = [
|
||||||
(import ./nix/overlays)
|
(import ./nix/overlays)
|
||||||
(import ./nix/overlays/packages.nix)
|
(import ./nix/overlays/packages.nix)
|
||||||
(import ./nix/overlays/packagesStable.nix)
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in pkgs.callPackage ./nix/environments/{{ name }}.nix {}
|
in pkgs.callPackage ./nix/environments/{{ name }}.nix {}
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,5 @@
|
||||||
overlays = {
|
overlays = {
|
||||||
default = import ./nix/overlays;
|
default = import ./nix/overlays;
|
||||||
packages = import ./nix/overlays/packages.nix;
|
packages = import ./nix/overlays/packages.nix;
|
||||||
packages' = import ./nix/overlays/packagesStable.nix;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,6 @@ in
|
||||||
overlays = map import [
|
overlays = map import [
|
||||||
../overlays
|
../overlays
|
||||||
../overlays/packages.nix
|
../overlays/packages.nix
|
||||||
../overlays/packagesStable.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Set NIX_PATH and flake registry at the same time
|
# Set NIX_PATH and flake registry at the same time
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@ in
|
||||||
overlays = map import [
|
overlays = map import [
|
||||||
../overlays
|
../overlays
|
||||||
../overlays/packages.nix
|
../overlays/packages.nix
|
||||||
../overlays/packagesStable.nix
|
|
||||||
./vanadium/nixos/overlay.nix
|
./vanadium/nixos/overlay.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@
|
||||||
}: let
|
}: let
|
||||||
cfg = config.programs.kitty;
|
cfg = config.programs.kitty;
|
||||||
|
|
||||||
inherit (pkgs) myPkgs';
|
inherit (pkgs) myPkgs;
|
||||||
in {
|
in {
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
myPkgs'.altiosevka-nerd-font-mono
|
myPkgs.altiosevka-nerd-font-mono
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.kitty = lib.mkIf cfg.enable {
|
programs.kitty = lib.mkIf cfg.enable {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
let
|
|
||||||
sources = import ../sources.nix;
|
|
||||||
in
|
|
||||||
_: _: {
|
|
||||||
myPkgs' = let
|
|
||||||
pkgs = import sources.nixpkgs-stable {};
|
|
||||||
in
|
|
||||||
pkgs.callPackages ../packages {};
|
|
||||||
}
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (pkgs) lib;
|
inherit (pkgs) lib;
|
||||||
mkNerdFont = pkgs.callPackage ../lib/mkNerdFont.nix {};
|
|
||||||
|
|
||||||
mkHaskellPackage = {
|
mkHaskellPackage = {
|
||||||
src,
|
src,
|
||||||
|
|
@ -25,9 +24,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
infuse = lib.flip infuse-lib.v1.infuse;
|
infuse = lib.flip infuse-lib.v1.infuse;
|
||||||
|
|
||||||
|
iosevka-pin = import sources.pin-iosevka {};
|
||||||
|
mkNerdFont = iosevka-pin.callPackage ../lib/mkNerdFont.nix {};
|
||||||
in rec {
|
in rec {
|
||||||
# fonts
|
# fonts
|
||||||
altiosevka = pkgs.callPackage ./altiosevka {};
|
altiosevka = iosevka-pin.callPackage ./altiosevka {};
|
||||||
altiosevka-nerd-font-mono = mkNerdFont {
|
altiosevka-nerd-font-mono = mkNerdFont {
|
||||||
font = altiosevka;
|
font = altiosevka;
|
||||||
extraArgs = [
|
extraArgs = [
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,7 @@
|
||||||
"url": "https://github.com/NixOS/nixpkgs/archive/5d736263df906c5da72ab0f372427814de2f52f8.tar.gz",
|
"url": "https://github.com/NixOS/nixpkgs/archive/5d736263df906c5da72ab0f372427814de2f52f8.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"pin-iosevka": {
|
||||||
"branch": "nixos-24.11",
|
"branch": "nixos-24.11",
|
||||||
"description": "Nix Packages collection & NixOS",
|
"description": "Nix Packages collection & NixOS",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue