refactor(flake): add pkgsUnstable in other files

This commit is contained in:
Oliver Davies 2023-11-04 10:29:29 +00:00
parent ee4911cbeb
commit 6514792445
2 changed files with 7 additions and 2 deletions
system/nixos

View file

@ -1,6 +1,8 @@
{ inputs, pkgs, system }:
let
pkgsUnstable = inputs.nixpkgs-unstable.legacyPackages."${system}";
configure-gtk = pkgs.writeTextFile {
name = "configure-gtk";
destination = "/bin/configure-gtk";
@ -181,7 +183,7 @@ in
monospace = [ "JetBrainsMono Nerd Font Mono" ];
};
};
fonts = with inputs.nixpkgs-unstable.legacyPackages."${system}"; [
fonts = with pkgsUnstable; [
(nerdfonts.override {
fonts = [
"FiraCode"