[WIP] Stuff
This commit is contained in:
parent
f62f6ff7f4
commit
859896c9b2
6 changed files with 43 additions and 8 deletions
|
@ -16,7 +16,21 @@
|
|||
defaultEditor = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
home.packages = with pkgs; let
|
||||
path = pkgs.lib.makeBinPath (with pkgs; [
|
||||
nix
|
||||
nixpkgs-fmt
|
||||
git
|
||||
]);
|
||||
nixFormat = writeScriptBin "nixFormat" ''
|
||||
export PATH=${pkgs.lib.escapeShellArg path}
|
||||
|
||||
if [[ ! "$(nix fmt $@)" ]]
|
||||
then
|
||||
nixpkgs-fmt $@
|
||||
fi
|
||||
'';
|
||||
in [
|
||||
binutils
|
||||
(ripgrep.override {withPCRE2 = true;})
|
||||
gnutls
|
||||
|
@ -24,6 +38,8 @@
|
|||
imagemagick
|
||||
sqlite
|
||||
maim
|
||||
nixFormat
|
||||
jq
|
||||
xclip
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue