just a lil utility
This commit is contained in:
parent
33008253ca
commit
72ff37a9ed
2 changed files with 21 additions and 11 deletions
|
|
@ -72,6 +72,9 @@
|
|||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
# Libraries
|
||||
libressl
|
||||
|
||||
# CLI tools
|
||||
git
|
||||
wget
|
||||
|
|
@ -87,11 +90,11 @@
|
|||
usbutils
|
||||
tree
|
||||
fzf # fuzzy finder
|
||||
cowsay # important
|
||||
psmisc
|
||||
pv
|
||||
file
|
||||
|
||||
nix-tree
|
||||
|
||||
# Shells
|
||||
bash
|
||||
nushell
|
||||
|
|
@ -113,6 +116,13 @@
|
|||
powershell
|
||||
xonsh
|
||||
];
|
||||
etc."current-system-packages".text =
|
||||
let
|
||||
packages = builtins.map (p: "${p.name}:\t${p}") config.environment.systemPackages;
|
||||
sortedUnique = builtins.sort builtins.lessThan (pkgs.lib.lists.unique packages);
|
||||
formatted = pkgs.lib.strings.concatLines sortedUnique;
|
||||
in
|
||||
formatted;
|
||||
}; # end environment
|
||||
|
||||
virtualisation = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue