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": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770019141,
|
"lastModified": 1770115704,
|
||||||
"narHash": "sha256-VKS4ZLNx4PNrABoB0L8KUpc1fE7CLpQXQs985tGfaCU=",
|
"narHash": "sha256-KHFT9UWOF2yRPlAnSXQJh6uVcgNcWlFqqiAZ7OVlHNc=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "cb369ef2efd432b3cdf8622b0ffc0a97a02f3137",
|
"rev": "e6eae2ee2110f3d31110d5c222cd395303343b08",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -295,11 +295,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770125189,
|
"lastModified": 1770132504,
|
||||||
"narHash": "sha256-boDXS39FRXDhrQZoK9CvsogApXnLM8UR1qvevawKN/g=",
|
"narHash": "sha256-WaP6QZ2n1qJ4suxMpeKaT6R2KCOGdgB+saHhAE1Js8Y=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "6a5c8df1342ff2ba9f9c1a9a3ebd99393faafb54",
|
"rev": "0ce7c6797b843145e88f50d441ca32dcfdd5343f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -316,11 +316,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770125189,
|
"lastModified": 1770132504,
|
||||||
"narHash": "sha256-boDXS39FRXDhrQZoK9CvsogApXnLM8UR1qvevawKN/g=",
|
"narHash": "sha256-WaP6QZ2n1qJ4suxMpeKaT6R2KCOGdgB+saHhAE1Js8Y=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "6a5c8df1342ff2ba9f9c1a9a3ebd99393faafb54",
|
"rev": "0ce7c6797b843145e88f50d441ca32dcfdd5343f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -72,6 +72,9 @@
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
|
# Libraries
|
||||||
|
libressl
|
||||||
|
|
||||||
# CLI tools
|
# CLI tools
|
||||||
git
|
git
|
||||||
wget
|
wget
|
||||||
|
|
@ -87,11 +90,11 @@
|
||||||
usbutils
|
usbutils
|
||||||
tree
|
tree
|
||||||
fzf # fuzzy finder
|
fzf # fuzzy finder
|
||||||
cowsay # important
|
|
||||||
psmisc
|
psmisc
|
||||||
pv
|
pv
|
||||||
file
|
file
|
||||||
|
nix-tree
|
||||||
|
|
||||||
# Shells
|
# Shells
|
||||||
bash
|
bash
|
||||||
nushell
|
nushell
|
||||||
|
|
@ -113,6 +116,13 @@
|
||||||
powershell
|
powershell
|
||||||
xonsh
|
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
|
}; # end environment
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue