just a lil utility
This commit is contained in:
parent
33008253ca
commit
72ff37a9ed
2 changed files with 21 additions and 11 deletions
18
flake.lock
generated
18
flake.lock
generated
|
|
@ -257,11 +257,11 @@
|
|||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1770019141,
|
||||
"narHash": "sha256-VKS4ZLNx4PNrABoB0L8KUpc1fE7CLpQXQs985tGfaCU=",
|
||||
"lastModified": 1770115704,
|
||||
"narHash": "sha256-KHFT9UWOF2yRPlAnSXQJh6uVcgNcWlFqqiAZ7OVlHNc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "cb369ef2efd432b3cdf8622b0ffc0a97a02f3137",
|
||||
"rev": "e6eae2ee2110f3d31110d5c222cd395303343b08",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -295,11 +295,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1770125189,
|
||||
"narHash": "sha256-boDXS39FRXDhrQZoK9CvsogApXnLM8UR1qvevawKN/g=",
|
||||
"lastModified": 1770132504,
|
||||
"narHash": "sha256-WaP6QZ2n1qJ4suxMpeKaT6R2KCOGdgB+saHhAE1Js8Y=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "6a5c8df1342ff2ba9f9c1a9a3ebd99393faafb54",
|
||||
"rev": "0ce7c6797b843145e88f50d441ca32dcfdd5343f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -316,11 +316,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1770125189,
|
||||
"narHash": "sha256-boDXS39FRXDhrQZoK9CvsogApXnLM8UR1qvevawKN/g=",
|
||||
"lastModified": 1770132504,
|
||||
"narHash": "sha256-WaP6QZ2n1qJ4suxMpeKaT6R2KCOGdgB+saHhAE1Js8Y=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "6a5c8df1342ff2ba9f9c1a9a3ebd99393faafb54",
|
||||
"rev": "0ce7c6797b843145e88f50d441ca32dcfdd5343f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -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