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

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"

View file

@ -1,4 +1,7 @@
{ inputs, pkgs, ... }:
let
pkgsUnstable = inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}";
in
with pkgs; [
awscli2
bottom
@ -18,12 +21,12 @@ with pkgs; [
go
htop
inotify-tools
inputs.nixpkgs-unstable.legacyPackages."${system}".rustywind
jq
just
lua
mysql
neofetch
pkgsUnstable.rustywind
pv
ripgrep
terraform