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

View file

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